From 7b429c1f56ceb8922cb155b7896e865da34295c3 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sat, 8 Feb 2025 13:11:54 +0100 Subject: [PATCH] the contact's 'mute' button is not needed if there is no chat with the contact --- deltachat-ios/Controller/ContactDetailViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ios/Controller/ContactDetailViewController.swift b/deltachat-ios/Controller/ContactDetailViewController.swift index b73306849..8e9149cae 100644 --- a/deltachat-ios/Controller/ContactDetailViewController.swift +++ b/deltachat-ios/Controller/ContactDetailViewController.swift @@ -330,7 +330,7 @@ class ContactDetailViewController: UITableViewController { } headerCell.setGreenCheckmark(greenCheckmark: viewModel.greenCheckmark) headerCell.setMuted(isMuted: viewModel.chatIsMuted) - headerCell.showMuteButton(show: true) + headerCell.showMuteButton(show: viewModel.chatId != 0) } headerCell.showSearchButton(show: viewModel.chatCanSend) }