Once finished locking/unlocking, stop loading indicator
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 31 Jul 2024 07:17:09 +0000 (15:17 +0800)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Thu, 12 Sep 2024 08:15:58 +0000 (10:15 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift

index d170fc26b41e9181bfafd0b23bb1138bfaaa2f3b..3acbfcf1707e4c02096779386770bb74a3e504fb 100644 (file)
@@ -185,6 +185,7 @@ class LockViewController: NSViewController {
             }
             if error == .success {
                 descriptionLabel.stringValue = "File \(self.locking ? "locked" : "unlocked")!"
+                stopIndicatingLoading()
             } else {
                 presentError("Could not lock file: \(error.errorDescription).")
             }