Selaa lähdekoodia

Show hide option on archive bottom menu

Neeraj Gupta 2 vuotta sitten
vanhempi
commit
9f655a2c5b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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: