From 4ad97cce303dd725abe7804c00ac2dc1558ec054 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 1 Aug 2024 15:59:03 +0800 Subject: [PATCH] Display checkmark when file lock completed Signed-off-by: Claudio Cambra --- .../FileProviderUIExt/Locking/LockViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Locking/LockViewController.swift index 3b49c097d5312..d7070fc9dc789 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).")