mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-04-08 10:17: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 {
|
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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user