From e9fd130115fee7aba55c6072f6db94fbee674fa7 Mon Sep 17 00:00:00 2001 From: Nindi Gill Date: Fri, 9 Jun 2023 21:13:20 +1000 Subject: [PATCH] Fix Full Disk Access check --- Mist/Views/List/ListRow.swift | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Mist/Views/List/ListRow.swift b/Mist/Views/List/ListRow.swift index aa06da6..1e38852 100644 --- a/Mist/Views/List/ListRow.swift +++ b/Mist/Views/List/ListRow.swift @@ -135,11 +135,13 @@ struct ListRow: View { return } - guard type == .installer, - FileManager.default.isReadableFile(atPath: .tccDatabasePath) else { - alertType = .fullDiskAccess - showAlert = true - return + if type == .installer { + + guard FileManager.default.isReadableFile(atPath: .tccDatabasePath) else { + alertType = .fullDiskAccess + showAlert = true + return + } } if cacheDownloads {