mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-12-14 21:10:56 +00:00
Update SecretListItemView.swift
Removed delete confirmation handling from SecretListItemView.
This commit is contained in:
parent
595de41f03
commit
9baf6aa9ed
@ -36,11 +36,6 @@ struct SecretListItemView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.showingDeleteConfirmation(isPresented: $isDeleting, secret, store as? AnySecretStoreModifiable) { deleted in
|
|
||||||
if deleted {
|
|
||||||
deletedSecret(secret)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.sheet(isPresented: $isRenaming, onDismiss: {
|
.sheet(isPresented: $isRenaming, onDismiss: {
|
||||||
renamedSecret(secret)
|
renamedSecret(secret)
|
||||||
}, content: {
|
}, content: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user