mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-19 09:45:46 -04:00
Fix Full Disk Access check
This commit is contained in:
parent
b5d2e31e96
commit
e9fd130115
1 changed files with 7 additions and 5 deletions
|
@ -135,11 +135,13 @@ struct ListRow: View {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
guard type == .installer,
|
if type == .installer {
|
||||||
FileManager.default.isReadableFile(atPath: .tccDatabasePath) else {
|
|
||||||
alertType = .fullDiskAccess
|
guard FileManager.default.isReadableFile(atPath: .tccDatabasePath) else {
|
||||||
showAlert = true
|
alertType = .fullDiskAccess
|
||||||
return
|
showAlert = true
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if cacheDownloads {
|
if cacheDownloads {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue