Ad and purchases enabled (still need actual testing)
This commit is contained in:
parent
2fcc6dcab7
commit
faf319322a
35 changed files with 1676 additions and 34 deletions
|
|
@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:provider/provider.dart';
|
||||
|
||||
import 'screens/main_shell.dart';
|
||||
import 'screens/user_agreement_screen.dart';
|
||||
import 'services/app_state.dart';
|
||||
import 'theme/app_theme.dart';
|
||||
|
||||
|
|
@ -67,6 +68,9 @@ class AppRoot extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
}
|
||||
if (!appState.hasAcceptedUserAgreement) {
|
||||
return const UserAgreementScreen();
|
||||
}
|
||||
return const MainShell();
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue