mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-18 05:22:11 +00:00
Fix sheets.
This commit is contained in:
parent
4c7e8be740
commit
c37d2d715a
@ -43,15 +43,6 @@ struct ContentView<UpdaterType: UpdaterProtocol, AgentStatusCheckerType: AgentSt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}.onAppear {
|
||||
active = nextDefaultSecret
|
||||
}
|
||||
.frame(minWidth: 100, idealWidth: 240)
|
||||
.sheet(item: $deletingSecret) { secret in
|
||||
if let store = storeList.modifiableStore {
|
||||
DeleteSecretView(secret: secret, store: store) { deleted in
|
||||
@ -62,6 +53,15 @@ struct ContentView<UpdaterType: UpdaterProtocol, AgentStatusCheckerType: AgentSt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}.onAppear {
|
||||
active = nextDefaultSecret
|
||||
}
|
||||
.frame(minWidth: 100, idealWidth: 240)
|
||||
.sheet(isPresented: $showingCreation) {
|
||||
if let store = storeList.modifiableStore {
|
||||
CreateSecretView(store: store, showing: $showingCreation)
|
||||
|
Loading…
Reference in New Issue
Block a user