mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-03-20 00:07:22 +01:00
Fix sheets.
This commit is contained in:
@@ -43,15 +43,6 @@ struct ContentView<UpdaterType: UpdaterProtocol, AgentStatusCheckerType: AgentSt
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}.onAppear {
|
|
||||||
active = nextDefaultSecret
|
|
||||||
}
|
|
||||||
.frame(minWidth: 100, idealWidth: 240)
|
|
||||||
.sheet(item: $deletingSecret) { secret in
|
.sheet(item: $deletingSecret) { secret in
|
||||||
if let store = storeList.modifiableStore {
|
if let store = storeList.modifiableStore {
|
||||||
DeleteSecretView(secret: secret, store: store) { deleted in
|
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) {
|
.sheet(isPresented: $showingCreation) {
|
||||||
if let store = storeList.modifiableStore {
|
if let store = storeList.modifiableStore {
|
||||||
CreateSecretView(store: store, showing: $showingCreation)
|
CreateSecretView(store: store, showing: $showingCreation)
|
||||||
|
|||||||
Reference in New Issue
Block a user