Browse Source

Critical: Fix bug where fav button was not visible for files present locally

Neeraj Gupta 2 years ago
parent
commit
e20784f772
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/ui/viewer/file/fading_app_bar.dart

+ 1 - 1
lib/ui/viewer/file/fading_app_bar.dart

@@ -110,7 +110,7 @@ class FadingAppBarState extends State<FadingAppBar> {
     final shouldShowActions = widget.shouldShowActions && !isTrashedFile;
     final bool isOwnedByUser =
         widget.file.ownerID == null || widget.file.ownerID == widget.userID;
-    final bool isFileUploaded = widget.file.isRemoteFile;
+    final bool isFileUploaded = widget.file.isUploaded;
     bool isFileHidden = false;
     if (isOwnedByUser && isFileUploaded) {
       isFileHidden = CollectionsService.instance