π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix legacy kit button keyboard inset
Neeraj Gupta4a8840b1f650
diff --git a/mobile/packages/legacy/lib/pages/create_legacy_kit_sheet.dart b/mobile/packages/legacy/lib/pages/create_legacy_kit_sheet.dartindex 814da21209..c58e91d4c2 100644--- a/mobile/packages/legacy/lib/pages/create_legacy_kit_sheet.dart+++ b/mobile/packages/legacy/lib/pages/create_legacy_kit_sheet.dart@@ -102,6 +102,7 @@ class _CreateLegacyKitPageState extends State<CreateLegacyKitPage> {Widget build(BuildContext context) {final colorScheme = getEnteColorScheme(context);final textTheme = getEnteTextTheme(context);+ final bottomInset = MediaQuery.viewInsetsOf(context).bottom;return Scaffold(backgroundColor: colorScheme.backgroundBase,@@ -164,16 +165,21 @@ class _CreateLegacyKitPageState extends State<CreateLegacyKitPage> {),],),- bottomNavigationBar: SafeArea(- top: false,- child: Container(- color: colorScheme.backgroundBase,- padding: const EdgeInsets.all(24),- child: GradientButton(- text: context.strings.createKit,- height: 48,- textStyle: textTheme.small.copyWith(height: 20 / 14),- onTap: _isValid ? _submit : null,+ bottomNavigationBar: AnimatedPadding(+ duration: const Duration(milliseconds: 200),+ curve: Curves.easeOut,+ padding: EdgeInsets.only(bottom: bottomInset),+ child: SafeArea(+ top: false,+ child: Container(+ color: colorScheme.backgroundBase,+ padding: const EdgeInsets.all(24),+ child: GradientButton(+ text: context.strings.createKit,+ height: 48,+ textStyle: textTheme.small.copyWith(height: 20 / 14),+ onTap: _isValid ? _submit : null,+ ),),),),