mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-18 05:22:11 +00:00
Switch to popover here too
This commit is contained in:
parent
763b6ea57d
commit
8353e65f2b
@ -20,7 +20,7 @@ struct SecretListView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.sheet(item: $deletingSecret) { secret in
|
.popover(isPresented: .constant(deletingSecret == secret)) {
|
||||||
if let modifiable = store as? AnySecretStoreModifiable {
|
if let modifiable = store as? AnySecretStoreModifiable {
|
||||||
DeleteSecretView(store: modifiable, secret: secret) { deleted in
|
DeleteSecretView(store: modifiable, secret: secret) { deleted in
|
||||||
deletingSecret = nil
|
deletingSecret = nil
|
||||||
@ -30,6 +30,7 @@ struct SecretListView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user