mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Once finished locking/unlocking, stop loading indicator
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
d312d009f7
commit
7ae9f833aa
1 changed files with 1 additions and 0 deletions
|
@ -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).")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue