Эх сурвалжийг харах

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 жил өмнө
parent
commit
00297e0513

+ 2 - 2
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -1928,8 +1928,8 @@ extension NCCollectionViewCommon: UIColorPickerViewControllerDelegate {
         if let metadata = menuMetadata {
             let serverUrl = metadata.serverUrl + "/" + metadata.fileName
             let hexColor = viewController.selectedColor.hexString
-            if let directory = NCManageDatabase.shared.setDirectory(serverUrl: serverUrl, colorFolder: hexColor, account: metadata.account) {
-                
+            if NCManageDatabase.shared.setDirectory(serverUrl: serverUrl, colorFolder: hexColor, account: metadata.account) != nil {
+                reloadDataSource()
             }
         }
         

+ 2 - 2
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -875,8 +875,8 @@
 "_waiting_for_"             = "Waiting for:";
 "_reachable_wifi_"          = "network reachable via Wi-Fi or cable";
 "_ITMS-90076_"              = "Due to a change in the Nextcloud application identifier, the settings and password for accessing your cloud are reset, so please re-enter your account data and check your Settings. We are sorry about that.";
-"_copy_passphrase_"        = "Copy passphrase";
-
+"_copy_passphrase_"         = "Copy passphrase";
+"_change_color_"            = "Change color";
 
 // Video
 "_select_trace_"            = "Select the trace";