mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
Display checkmark when file lock completed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
419035c275
commit
7413cf6735
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