Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: live photo indicator getting cut at the bottom

ashilkn2a6ec2528d3c
diff --git a/lib/ui/viewer/file/file_app_bar.dart b/lib/ui/viewer/file/file_app_bar.dart
index b7c7802ca6..05eb081a0c 100644
--- a/lib/ui/viewer/file/file_app_bar.dart
+++ b/lib/ui/viewer/file/file_app_bar.dart
@@ -85,7 +85,7 @@ class FileAppBarState extends State<FileAppBar> {
);
},
),
- Size.fromHeight(Platform.isAndroid ? 80 : 96),
+ Size.fromHeight(Platform.isAndroid ? 84 : 96),
);
}
@@ -104,30 +104,33 @@ class FileAppBarState extends State<FileAppBar> {
?.isHidden() ??
false;
}
- if (kDebugMode) {
- actions.add(
- Text(
- widget.file.generatedID?.toString() ?? 'null',
- style: const TextStyle(color: Colors.white),
- ),
- );
- }
+ if (kDebugMode) {
+ actions.add(
+ Text(
+ widget.file.generatedID?.toString() ?? 'null',
+ style: const TextStyle(color: Colors.white),
+ ),
+ );
+ }
if (widget.file.isLiveOrMotionPhoto) {
actions.add(
IconButton(
icon: const Icon(Icons.album_outlined),
onPressed: () {
- showShortToast(context, S.of(context).pressAndHoldToPlayVideoDetailed);
+ showShortToast(
+ context,
+ S.of(context).pressAndHoldToPlayVideoDetailed,
+ );
},
),
);
}
// only show fav option for files owned by the user
if (isOwnedByUser && !isFileHidden && isFileUploaded) {
- actions.add(
- Padding(
- padding: const EdgeInsets.symmetric(vertical: 6, horizontal: 7.5),
- child: FavoriteWidget(widget.file),
+ actions.add(
+ Padding(
+ padding: const EdgeInsets.symmetric(vertical: 6, horizontal: 7.5),
+ child: FavoriteWidget(widget.file),
),
);
}