diff --git a/lib/main.dart b/lib/main.dart index 9c128dcf..ced0e349 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -129,7 +129,6 @@ class _AppState extends State { return const Color(0xff1aab5f); }), ), - bottomSheetTheme: BottomSheetThemeData(dragHandleColor: const Color(0xFF171717)), ); final ThemeData _theme = ThemeData( brightness: Brightness.light, @@ -146,8 +145,6 @@ class _AppState extends State { return const Color(0xff1aab5f); }), ), - bottomSheetTheme: BottomSheetThemeData( - dragHandleColor: const Color(0xFFFFFFFF)), ); final Iterable>? localizationsDelegates = const [ FFLocalizationsDelegate(), @@ -202,12 +199,10 @@ class _AppState extends State { context: context, builder: (context) => SizedBox(height: height, child: builder(context)), isScrollControlled: true, - showDragHandle: true, barrierColor: theme.primaryBackground.withOpacity(0.2), backgroundColor: theme.primaryBackground, useSafeArea: true, enableDrag: true, - isDismissible: true, ).then((_) => StorageUtil().isRecovered = false); } diff --git a/lib/pages/forgot_password_page/forgot_password_screen.dart b/lib/pages/forgot_password_page/forgot_password_screen.dart index e8dc7183..83d5eeff 100644 --- a/lib/pages/forgot_password_page/forgot_password_screen.dart +++ b/lib/pages/forgot_password_page/forgot_password_screen.dart @@ -88,7 +88,11 @@ class _ForgotPasswordScreenState extends State with Ticker super.dispose(); } - @override Widget build(BuildContext context) => buildBody(context); + @override Widget build(BuildContext context) => Scaffold( + appBar: buildAppBar(context), + body: buildBody(context), + ); + AppBar buildAppBar(BuildContext context) { return AppBar(