Prevent wallpaper mode from overwriting navbar color.

This commit is contained in:
Alex Hart
2025-04-10 14:12:04 -03:00
parent 021330a25d
commit 35235509ca
2 changed files with 8 additions and 2 deletions

View File

@@ -784,13 +784,17 @@ public class InputPanel extends ConstraintLayout
}
private void updateVisibility() {
if (hideForGroupState || hideForBlockedState || hideForSearch || hideForSelection || hideForMessageRequestState) {
if (isHidden()) {
setVisibility(GONE);
} else {
setVisibility(VISIBLE);
}
}
public boolean isHidden() {
return hideForGroupState || hideForBlockedState || hideForSearch || hideForSelection || hideForMessageRequestState;
}
public @Nullable MessageRecord getEditMessage() {
return messageToEdit;
}