check token 100%

This commit is contained in:
2025-03-06 21:38:47 +01:00
parent e7afe8fddb
commit 9df499d198
8 changed files with 41 additions and 3 deletions

View File

@@ -13,7 +13,6 @@ import '../variable/globals.dart' as globals;
import '../classes/ad_helper.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
import '../classes/auth_service.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
@@ -40,7 +39,6 @@ class AddProfile extends StatefulWidget {
class _AddProfileState extends State<AddProfile> with ShowAlertDialog {
BannerAd? _bannerAd;
final AuthService _authService = AuthService();
TextEditingController inputUserName = TextEditingController();
@@ -142,7 +140,6 @@ class _AddProfileState extends State<AddProfile> with ShowAlertDialog {
@override
void initState() {
super.initState();
_authService.checkTokenStatus(context);
AdHelper.createBannerAd(() => setState(() {})).then((ad) {
setState(() {