Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0cf94e9 authored by Ronak's avatar Ronak
Browse files

removed patch

parent fde6fa0a
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -140,7 +140,6 @@ RUN patch -u ${BASE_DIR}/apps/files/js/files.js -i ${TMP_PATCH_DIR}/021-repeated
RUN cd ${BASE_DIR} && patch -u ${BASE_DIR}/3rdparty/sabre/vobject/lib/ITip/Broker.php -i ${TMP_PATCH_DIR}/022-significantchange.patch
RUN patch -u ${BASE_DIR}/apps/dav/lib/CalDAV/Reminder/ReminderService.php -i ${TMP_PATCH_DIR}/024-reminder-service-handle-exception.patch
RUN patch -u ${BASE_DIR}/apps/theming/lib/Themes/CommonThemeTrait.php -i ${TMP_PATCH_DIR}/026-primary-color-fix.patch
RUN patch -u ${BASE_DIR}/custom_apps/memories/src/components/SelectionManager.vue -i ${TMP_PATCH_DIR}/028-hide-archive-option-memories-app.patch

RUN rm -rf ${TMP_PATCH_DIR}

+0 −25
Original line number Diff line number Diff line
From: Ronak <ronak.patel@e.email>
Date: Fri, 09 June 2023 14:00 +0530
Subject: [PATCH] To hide archive option in memories app

--- ./custom_apps/memories/src/components/SelectionManager.vue	2023-06-09 02:55:22
+++ ./custom_apps/memories/src/components/SelectionManager-new.vue	2023-06-09 03:04:52
@@ -161,18 +161,6 @@
         name: t('memories', 'Favorite'),
         icon: StarIcon,
         callback: this.favoriteSelection.bind(this),
-      },
-      {
-        name: t('memories', 'Archive'),
-        icon: ArchiveIcon,
-        callback: this.archiveSelection.bind(this),
-        if: () => !this.routeIsArchiveFolder() && !this.routeIsAlbums || false,
-      },
-      {
-        name: t('memories', 'Unarchive'),
-        icon: UnarchiveIcon,
-        callback: this.archiveSelection.bind(this),
-        if: () => this.routeIsArchiveFolder() || false,
       },
       {
         name: t('memories', 'Edit metadata'),