fix: wrong icon in dialog activity

Signed-off-by: Next Alone <12210746+NextAlone@users.noreply.github.com>
This commit is contained in:
Next Alone 2023-01-07 21:35:02 +08:00
parent 0c0c717818
commit f4316f2c92
No known key found for this signature in database
GPG Key ID: DBA7B0AEF8C1CD2C

View File

@ -7868,11 +7868,11 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
muteItem.setContentDescription(LocaleController.getString("ChatsMute", R.string.ChatsMute));
}
if (canReadCount != 0) {
readItem.setTextAndIcon(LocaleController.getString("MarkAsRead", R.string.MarkAsRead), R.drawable.baseline_done_all_24);
readItem.setTextAndIcon(LocaleController.getString("MarkAsRead", R.string.MarkAsRead), R.drawable.msg_markread);
readItem.setVisibility(View.VISIBLE);
} else {
if (forumCount == 0) {
readItem.setTextAndIcon(LocaleController.getString("MarkAsUnread", R.string.MarkAsUnread), R.drawable.baseline_unsubscribe_24);
readItem.setTextAndIcon(LocaleController.getString("MarkAsUnread", R.string.MarkAsUnread), R.drawable.msg_markunread);
readItem.setVisibility(View.VISIBLE);
} else {
readItem.setVisibility(View.GONE);
@ -9318,7 +9318,7 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
sendPopupLayout2.setupRadialSelectors(getThemedColor(Theme.key_dialogButtonSelector));
ActionBarMenuSubItem sendWithoutSound = new ActionBarMenuSubItem(parentActivity, true, true, resourcesProvider);
sendWithoutSound.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
sendWithoutSound.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
sendWithoutSound.setMinimumWidth(AndroidUtilities.dp(196));
sendWithoutSound.setOnClickListener(v -> {
if (sendPopupWindow != null && sendPopupWindow.isShowing()) {