Improve storage
This commit is contained in:
@ -162,7 +162,7 @@ struct MainView: App {
|
||||
}.pickerStyle(.segmented)
|
||||
}
|
||||
ToolbarItem(placement: .primaryAction) {
|
||||
if content.storage.hasContentFolders {
|
||||
if content.storage.contentScope != nil {
|
||||
Button(action: save) {
|
||||
Text("Save")
|
||||
}
|
||||
@ -203,7 +203,7 @@ struct MainView: App {
|
||||
}
|
||||
|
||||
private func loadContent() {
|
||||
guard content.storage.hasContentFolders else {
|
||||
guard content.storage.contentScope != nil else {
|
||||
showInitialSheet()
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user