mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-12-22 04:07:09 +00:00
Fixes #21
This commit is contained in:
parent
afa29c6a4e
commit
9a40c8ea7e
@ -11,7 +11,7 @@ struct ContentView: View {
|
||||
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
List {
|
||||
List(selection: self.$active) {
|
||||
Section(header: Text(store.name)) {
|
||||
ForEach(store.secrets) { secret in
|
||||
NavigationLink(destination: SecretDetailView(secret: secret), tag: secret, selection: self.$active) {
|
||||
@ -21,6 +21,7 @@ struct ContentView: View {
|
||||
Text("Delete")
|
||||
}
|
||||
}
|
||||
.tag(secret)
|
||||
}
|
||||
}
|
||||
}.onAppear {
|
||||
|
Loading…
Reference in New Issue
Block a user