Skip to content

armgit / ente

Public Imported from GitHub
0

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

- Fixed Misaligned icon in file_app_bar.dart file by wrapping it inside IconButton Widget

Naveenchand402a3f74c095
diff --git a/Gemfile.lock b/Gemfile.lock
index 430172073f..238be83987 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -211,6 +211,7 @@ GEM
PLATFORMS
arm64-darwin-21
+ x86_64-linux
DEPENDENCIES
fastlane
diff --git a/lib/ui/viewer/file/file_app_bar.dart b/lib/ui/viewer/file/file_app_bar.dart
index d277b687af..8b44486ace 100644
--- a/lib/ui/viewer/file/file_app_bar.dart
+++ b/lib/ui/viewer/file/file_app_bar.dart
@@ -124,7 +124,7 @@ class FileAppBarState extends State<FileAppBar> {
}
// only show fav option for files owned by the user
if (isOwnedByUser && !isFileHidden && isFileUploaded) {
- actions.add(FavoriteWidget(widget.file));
+ actions.add(IconButton(icon: FavoriteWidget(widget.file), onPressed: null));
}
if (!isFileUploaded) {
actions.add(