High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): use safe area for gallery_viewer bottom sheet (#5831)
shenlong085dc6cd93ed
diff --git a/mobile/lib/modules/asset_viewer/views/gallery_viewer.dart b/mobile/lib/modules/asset_viewer/views/gallery_viewer.dartindex 023a7c8dd4..007300a328 100644--- a/mobile/lib/modules/asset_viewer/views/gallery_viewer.dart+++ b/mobile/lib/modules/asset_viewer/views/gallery_viewer.dart@@ -179,18 +179,18 @@ class GalleryViewerPage extends HookConsumerWidget {barrierColor: Colors.transparent,backgroundColor: Colors.transparent,isScrollControlled: true,+ useSafeArea: true,context: context,builder: (context) {- if (ref- .watch(appSettingsServiceProvider)- .getSetting<bool>(AppSettingsEnum.advancedTroubleshooting)) {- return AdvancedBottomSheet(assetDetail: asset());- }return Padding(padding: EdgeInsets.only(- bottom: MediaQuery.of(context).viewInsets.bottom,+ bottom: MediaQuery.viewInsetsOf(context).bottom,),- child: ExifBottomSheet(asset: asset()),+ child: ref+ .watch(appSettingsServiceProvider)+ .getSetting<bool>(AppSettingsEnum.advancedTroubleshooting)+ ? AdvancedBottomSheet(assetDetail: asset())+ : ExifBottomSheet(asset: asset()),);},);