Stop loading indicator when presenting error

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-07-31 15:16:08 +08:00 committed by Matthieu Gallien
parent 65e4297e12
commit 516fc7cc10

View file

@ -58,6 +58,7 @@ class LockViewController: NSViewController {
private func presentError(_ error: String) {
Logger.lockViewController.error("Error: \(error, privacy: .public)")
descriptionLabel.stringValue = "Error: \(error)"
stopIndicatingLoading()
}
private func processItemIdentifier(_ itemIdentifier: NSFileProviderItemIdentifier) async {