π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Preserve Memory sharing bottom safe area
Neeraj Gupta88175a5e35ca
diff --git a/mobile/apps/photos/lib/ui/home/memories/memory_share_sheet.dart b/mobile/apps/photos/lib/ui/home/memories/memory_share_sheet.dartindex dc991af7dd..883e6bd350 100644--- a/mobile/apps/photos/lib/ui/home/memories/memory_share_sheet.dart+++ b/mobile/apps/photos/lib/ui/home/memories/memory_share_sheet.dart@@ -108,7 +108,6 @@ class _MemoryShareSelectionSheetStatechild: _buildHeader(context, l10n),),showCloseButton: false,- useSafeArea: false,padding: const EdgeInsets.symmetric(vertical: Spacing.xl),borderSide: BorderSide(color: colors.strokeDark),content: Expanded(diff --git a/mobile/packages/ente_components/lib/components/bottom_sheet/bottom_sheet_component.dart b/mobile/packages/ente_components/lib/components/bottom_sheet/bottom_sheet_component.dartindex 1601c33319..7ed811c062 100644--- a/mobile/packages/ente_components/lib/components/bottom_sheet/bottom_sheet_component.dart+++ b/mobile/packages/ente_components/lib/components/bottom_sheet/bottom_sheet_component.dart@@ -118,7 +118,6 @@ class BottomSheetComponent extends StatelessWidget {this.actionsTopSpacing,this.backgroundColor,this.borderSide,- this.useSafeArea = true,this.isKeyboardAware = false,this.isScrollable = false,this.initialChildSize = 0.5,@@ -151,12 +150,6 @@ class BottomSheetComponent extends StatelessWidget {/// Source: https://www.figma.com/design/BuBNPPytxlVnqfmCUW0mgz/Ente-Visual-Design?node-id=4809-8027&m=devfinal BorderSide? borderSide;- /// Whether to add the device's bottom safe-area inset inside the sheet.- /// Fixed-format sheets can opt out when their designed bottom padding keeps- /// actions clear of the home indicator.- /// Source: https://www.figma.com/design/BuBNPPytxlVnqfmCUW0mgz/Ente-Visual-Design?node-id=18629-312441&m=dev- final bool useSafeArea;-final bool isKeyboardAware;final bool isScrollable;@@ -251,9 +244,7 @@ class BottomSheetComponent extends StatelessWidget {),);- final safeAreaBody = useSafeArea- ? SafeArea(top: false, child: sheetBody)- : sheetBody;+ final safeAreaBody = SafeArea(top: false, child: sheetBody);final outlinedBody = borderSide == null? safeAreaBody: DecoratedBox(