milestone
This commit is contained in:
parent
f4e8f9a806
commit
bf5b2a8215
|
@ -206,13 +206,13 @@ class _AppState extends State<App> with WidgetsBindingObserver {
|
|||
print('email: $email, token: $token');
|
||||
final bool isNotEmpty = email.isNotEmpty && token.isNotEmpty;
|
||||
if (isNotEmpty) {
|
||||
final BuildContext context = StorageHelper().context!;
|
||||
final FlutterFlowTheme theme = FlutterFlowTheme.of(context);
|
||||
final Widget screen = ForgotPasswordScreen(email: email, token: token);
|
||||
builder(context) => screen;
|
||||
print('showModalBottomSheet');
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
await showModalBottomSheet(
|
||||
context: context,
|
||||
context: StorageHelper().context!,
|
||||
builder: (context) => Padding(padding: MediaQuery.viewInsetsOf(context), child: builder(context)),
|
||||
isScrollControlled: true,
|
||||
// barrierColor: theme.primaryBackground.withOpacity(0.2),
|
||||
|
@ -225,6 +225,7 @@ class _AppState extends State<App> with WidgetsBindingObserver {
|
|||
StorageHelper().isRecovered = false;
|
||||
print('showModalBottomSheet completed');
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -276,7 +277,9 @@ class _AppState extends State<App> with WidgetsBindingObserver {
|
|||
_appStateNotifier = AppStateNotifier.instance;
|
||||
_router = createRouter(_appStateNotifier);
|
||||
Future.delayed(
|
||||
const Duration(milliseconds: 1000), () => setState(() => _appStateNotifier.stopShowingSplashImage()));
|
||||
const Duration(milliseconds: 1000),
|
||||
() => setState(() => _appStateNotifier.stopShowingSplashImage()),
|
||||
);
|
||||
|
||||
_setupFirebaseMessaging();
|
||||
initDeepLinks();
|
||||
|
|
Loading…
Reference in New Issue