Bläddra i källkod

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

Naveenchand 1 år sedan
förälder
incheckning
402a3f74c0
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 0
      Gemfile.lock
  2. 1 1
      lib/ui/viewer/file/file_app_bar.dart

+ 1 - 0
Gemfile.lock

@@ -211,6 +211,7 @@ GEM
 
 PLATFORMS
   arm64-darwin-21
+  x86_64-linux
 
 DEPENDENCIES
   fastlane

+ 1 - 1
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(