Browse Source

Change icon Delete

Marino Faggiana 7 years ago
parent
commit
045bf6cde4

BIN
iOSClient/Images.xcassets/swipeDelete.imageset/swipeDelete.png


BIN
iOSClient/Images.xcassets/swipeDelete.imageset/swipeDelete@2x.png


BIN
iOSClient/Images.xcassets/swipeDelete.imageset/swipeDelete@3x.png


+ 2 - 2
iOSClient/Main/CCMain.m

@@ -4108,7 +4108,7 @@
                                     }];
         }
         
-        if (!([_metadata.fileName isEqualToString:_autoUploadFileName] == YES && [serverUrl isEqualToString:_autoUploadDirectory] == YES) && !isFolderEncrypted) {
+        if (!([_metadata.fileName isEqualToString:_autoUploadFileName] == YES && [serverUrl isEqualToString:_autoUploadDirectory] == YES)) {
             
             [actionSheet addButtonWithTitle:NSLocalizedString(@"_folder_automatic_upload_", nil)
                                       image:[CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folderphotocamera"] color:[NCBrandColor sharedInstance].brandElement]
@@ -4150,7 +4150,7 @@
                                     }];
         }
         
-        if (!_metadata.e2eEncrypted && !([_metadata.fileName isEqualToString:_autoUploadFileName] == YES && [serverUrl isEqualToString:_autoUploadDirectory] == YES)) {
+        if (!_metadata.e2eEncrypted) {
 
             
             [actionSheet addButtonWithTitle:NSLocalizedString(@"_e2e_set_folder_encrypted_", nil)