Skip to content

Commit

Permalink
Display checkmark when file lock completed
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Aug 1, 2024
1 parent 6bdecc3 commit 4ad97cc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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).")
Expand Down

0 comments on commit 4ad97cc

Please sign in to comment.