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