Merge pull request #305 from gavine99/hide-extra-controls-on-cant-reply-304-and-299

bug fix remove extraneous controls on compose (sim and mic) when no reply possible
This commit is contained in:
octoshrimpy
2025-02-23 16:14:26 -05:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
@@ -528,6 +528,8 @@ class ComposeActivity : QkThemedActivity(), ComposeView {
// hide controls that allow constructing a reply and inform user no valid recipients
if (!state.editingMode && (state.validRecipientNumbers == 0)) {
composeBar.visibility = View.GONE
sim.visibility = View.GONE
recordAudioMsg.visibility = View.GONE
noValidRecipients.visibility = View.VISIBLE
// change constraint of messageList to constrain bottom to top of noValidRecipients