Fix icon for send without sound
This commit is contained in:
parent
534d30325e
commit
b16412e075
@ -4081,7 +4081,7 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe
|
||||
if (!UserObject.isUserSelf(user) && slowModeTimer == 0 && !isInScheduleMode()) {
|
||||
|
||||
cell = new ActionBarMenuSubItem(getContext(), parentFragment.canScheduleMessage(), true);
|
||||
cell.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
||||
cell.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||
cell.setOnClickListener(v -> {
|
||||
if (sendPopupWindow != null && sendPopupWindow.isShowing()) {
|
||||
sendPopupWindow.dismiss();
|
||||
|
@ -1650,7 +1650,7 @@ public class ChatAttachAlert extends BottomSheet implements NotificationCenter.N
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.baseline_date_range_24);
|
||||
}
|
||||
} else if (num == 2) {
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||
}
|
||||
itemCells[a].setMinimumWidth(AndroidUtilities.dp(196));
|
||||
|
||||
|
@ -728,7 +728,7 @@ public class DocumentSelectActivity extends BaseFragment {
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.baseline_date_range_24);
|
||||
}
|
||||
} else if (num == 2) {
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||
}
|
||||
itemCells[a].setMinimumWidth(AndroidUtilities.dp(196));
|
||||
|
||||
|
@ -494,7 +494,7 @@ public class PhotoAlbumPickerActivity extends BaseFragment implements Notificati
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.baseline_date_range_24);
|
||||
}
|
||||
} else if (num == 2) {
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||
}
|
||||
itemCells[a].setMinimumWidth(AndroidUtilities.dp(196));
|
||||
|
||||
|
@ -1103,7 +1103,7 @@ public class PhotoPickerActivity extends BaseFragment implements NotificationCen
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.baseline_date_range_24);
|
||||
}
|
||||
} else if (num == 2) {
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
||||
itemCells[a].setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||
}
|
||||
itemCells[a].setMinimumWidth(AndroidUtilities.dp(196));
|
||||
|
||||
|
@ -5261,7 +5261,7 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
|
||||
cell.setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.baseline_date_range_24);
|
||||
}
|
||||
} else if (a == 1) {
|
||||
cell.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
||||
cell.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||
} else if (a == 2) {
|
||||
cell.setTextAndIcon(LocaleController.getString("ReplacePhoto", R.string.ReplacePhoto), R.drawable.msg_replace);
|
||||
} else if (a == 3) {
|
||||
|
Loading…
Reference in New Issue
Block a user