From: Claudio Cambra Date: Thu, 1 Aug 2024 07:59:03 +0000 (+0800) Subject: Display checkmark when file lock completed X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~22^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=71454fc40e392c61fcc4e96a0b0e4720f972cd58;p=nextcloud-desktop.git Display checkmark when file lock completed Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift index 3b49c097d..d7070fc9d 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift @@ -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).")