Browse Source

#2066

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
530d62efc0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Menu/NCMedia+Menu.swift

+ 2 - 2
iOSClient/Menu/NCMedia+Menu.swift

@@ -53,7 +53,7 @@ extension NCMedia {
 
 
             actions.append(
             actions.append(
                 NCMenuAction(
                 NCMenuAction(
-                    title: NSLocalizedString(filterClassTypeImage ? "_media_viewimage_show_" : "_media_viewimage_hide_", comment: ""),
+                    title: NSLocalizedString("_media_viewimage_hide_", comment: ""),
                     icon: NCUtility.shared.loadImage(named: "photo"),
                     icon: NCUtility.shared.loadImage(named: "photo"),
                     selected: filterClassTypeImage,
                     selected: filterClassTypeImage,
                     on: true,
                     on: true,
@@ -67,7 +67,7 @@ extension NCMedia {
 
 
             actions.append(
             actions.append(
                 NCMenuAction(
                 NCMenuAction(
-                    title: NSLocalizedString(filterClassTypeVideo ? "_media_viewvideo_show_" : "_media_viewvideo_hide_", comment: ""),
+                    title: NSLocalizedString("_media_viewvideo_hide_", comment: ""),
                     icon: NCUtility.shared.loadImage(named: "video"),
                     icon: NCUtility.shared.loadImage(named: "video"),
                     selected: filterClassTypeVideo,
                     selected: filterClassTypeVideo,
                     on: true,
                     on: true,