Răsfoiți Sursa

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 ani în urmă
părinte
comite
96461a3fc9
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      iOSClient/Color/NCColorPicker.swift

+ 1 - 1
iOSClient/Color/NCColorPicker.swift

@@ -114,7 +114,7 @@ class NCColorPicker: UIViewController {
             let serverUrl = metadata.serverUrl + "/" + metadata.fileName
             if NCManageDatabase.shared.setDirectory(serverUrl: serverUrl, colorFolder: hexColor, account: metadata.account) != nil {
                 self.dismiss(animated: true)
-                NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterReloadDataSource, userInfo: ["serverUrl": self.serverUrl])
+                NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterReloadDataSource, userInfo: ["serverUrl": metadata.serverUrl])
             }
         }
         self.dismiss(animated: true)