Skip to content

armgit / ente

Public Imported from GitHub
0

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

Updated with suggested change

Naveenchand99a59faf6a1b
diff --git a/lib/ui/viewer/file/file_app_bar.dart b/lib/ui/viewer/file/file_app_bar.dart
index 8b44486ace..99a1151070 100644
--- a/lib/ui/viewer/file/file_app_bar.dart
+++ b/lib/ui/viewer/file/file_app_bar.dart
@@ -124,7 +124,12 @@ class FileAppBarState extends State<FileAppBar> {
}
// only show fav option for files owned by the user
if (isOwnedByUser && !isFileHidden && isFileUploaded) {
- actions.add(IconButton(icon: FavoriteWidget(widget.file), onPressed: null));
+ actions.add(
+ Padding(
+ padding: const EdgeInsets.symmetric(vertical: 6, horizontal: 7.5),
+ child: FavoriteWidget(widget.file),
+ ),
+ );
}
if (!isFileUploaded) {
actions.add(