mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Display checkmark when file lock completed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
820fbbd3c3
commit
71454fc40e
1 changed files with 4 additions and 0 deletions
|
@ -207,6 +207,10 @@ class LockViewController: NSViewController {
|
|||
}
|
||||
if error == .success {
|
||||
descriptionLabel.stringValue = "File \(self.locking ? "locked" : "unlocked")!"
|
||||
warnImage.image = NSImage(
|
||||
systemSymbolName: "checkmark.circle.fill",
|
||||
accessibilityDescription: "checkmark.circle.fill"
|
||||
)
|
||||
stopIndicatingLoading()
|
||||
} else {
|
||||
presentError("Could not lock file: \(error.errorDescription).")
|
||||
|
|
Loading…
Reference in a new issue