Skip to content

Commit

Permalink
contact profile: hide unneeded mute buttons (#2590)
Browse files Browse the repository at this point in the history
* the contact's 'mute' button is not needed if there is no chat with the contact

* update CHANGELOG
  • Loading branch information
r10s authored Feb 8, 2025
1 parent 5ad14b1 commit 0620f4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Copy scanned QR code text to clipboard (#2582)
- Improve "All media empty" and "Block contact" wordings (#2580)
- Unify buttons and icons (#2584)
- Hide unneeded buttons in contact profiles (#2589)
- Hide unneeded buttons in contact profiles (#2589, #2590)
- Fix: Allow to share contacts that do not have a chat (#2583)


Expand Down
2 changes: 1 addition & 1 deletion deltachat-ios/Controller/ContactDetailViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 0620f4b

Please sign in to comment.