fix small bugs
This commit is contained in:
parent
892cc02f5f
commit
0b714ffec2
4 changed files with 16 additions and 36 deletions
|
|
@ -36,7 +36,9 @@ class AboutRepositoryTableViewController: BasicStaticTableViewController {
|
|||
|
||||
var size = UInt64(0)
|
||||
do {
|
||||
size = try fm.allocatedSizeOfDirectoryAtURL(directoryURL: PasswordStore.shared.storeURL)
|
||||
if fm.fileExists(atPath: PasswordStore.shared.storeURL.path) {
|
||||
size = try fm.allocatedSizeOfDirectoryAtURL(directoryURL: PasswordStore.shared.storeURL)
|
||||
}
|
||||
} catch {
|
||||
print(error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue