This commit is contained in:
spaced4ndy
2024-05-07 17:28:23 +04:00
parent 28748b8f2d
commit 5394e481f6
@@ -130,6 +130,7 @@ struct ChatListNavLink: View {
return ActionSheet(
title: Text("Delete conversation?"),
buttons: [
// TODO chat doesn't disappear until view is re-opened
.destructive(Text("Delete conversation")) { Task { await deleteChatContact(chat, chatDeleteMode: .messages) } },
.destructive(Text("Delete conversation and contact")) { contactNavLinkSheet = .notifyDeleteContactActionSheet },
.cancel()