瀏覽代碼

Show hide option on archive bottom menu

Neeraj Gupta 2 年之前
父節點
當前提交
9f655a2c5b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/models/gallery_type.dart

+ 2 - 2
lib/models/gallery_type.dart

@@ -52,9 +52,9 @@ extension GalleyTypeExtension on GalleryType {
       case GalleryType.searchResults:
       case GalleryType.homepage:
       case GalleryType.favorite:
+      case GalleryType.archive:
         return true;
       case GalleryType.hidden:
-      case GalleryType.archive:
       case GalleryType.localFolder:
       case GalleryType.trash:
       case GalleryType.sharedCollection:
@@ -104,10 +104,10 @@ extension GalleyTypeExtension on GalleryType {
       case GalleryType.ownedCollection:
       case GalleryType.homepage:
       case GalleryType.searchResults:
+      case GalleryType.archive:
         return true;
 
       case GalleryType.hidden:
-      case GalleryType.archive:
       case GalleryType.localFolder:
       case GalleryType.trash:
       case GalleryType.favorite: