Browse Source

don't exit hidden section after unhide operation

Abhinav 1 year ago
parent
commit
669fb33b67
1 changed files with 0 additions and 3 deletions
  1. 0 3
      apps/photos/src/pages/gallery/index.tsx

+ 0 - 3
apps/photos/src/pages/gallery/index.tsx

@@ -839,9 +839,6 @@ export default function Gallery() {
 
                 clearSelection();
                 await syncWithRemote(false, true);
-                if (isInHiddenSection && ops === COLLECTION_OPS_TYPE.UNHIDE) {
-                    exitHiddenSection();
-                }
             } catch (e) {
                 logError(e, 'collection ops failed', { ops });
                 setDialogMessage({