|
|
|
@ -179,18 +179,18 @@ class GalleryViewerPage extends HookConsumerWidget {
|
|
|
|
barrierColor: Colors.transparent,
|
|
|
|
barrierColor: Colors.transparent,
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
isScrollControlled: true,
|
|
|
|
isScrollControlled: true,
|
|
|
|
|
|
|
|
useSafeArea: true,
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
builder: (context) {
|
|
|
|
builder: (context) {
|
|
|
|
if (ref
|
|
|
|
|
|
|
|
.watch(appSettingsServiceProvider)
|
|
|
|
|
|
|
|
.getSetting<bool>(AppSettingsEnum.advancedTroubleshooting)) {
|
|
|
|
|
|
|
|
return AdvancedBottomSheet(assetDetail: asset());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return Padding(
|
|
|
|
return Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
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()),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|