|
@@ -394,7 +394,7 @@ class ContactDetailViewController: UITableViewController {
|
|
private func showDeleteChatConfirmationAlert() {
|
|
private func showDeleteChatConfirmationAlert() {
|
|
let alert = UIAlertController(
|
|
let alert = UIAlertController(
|
|
title: nil,
|
|
title: nil,
|
|
- message: String.localized("ask_delete_chat_desktop"),
|
|
|
|
|
|
+ message: String.localizedStringWithFormat(String.localized("ask_delete_named_chat"), viewModel.context.getChat(chatId: viewModel.chatId).name),
|
|
preferredStyle: .safeActionSheet
|
|
preferredStyle: .safeActionSheet
|
|
)
|
|
)
|
|
alert.addAction(UIAlertAction(title: String.localized("menu_delete_chat"), style: .destructive, handler: { _ in
|
|
alert.addAction(UIAlertAction(title: String.localized("menu_delete_chat"), style: .destructive, handler: { _ in
|