Once finished locking/unlocking, stop loading indicator

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-07-31 15:17:09 +08:00 committed by Matthieu Gallien
parent d312d009f7
commit 7ae9f833aa

View 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).")
}