mirror of https://github.com/NekoX-Dev/NekoX.git
Replace icons
This commit is contained in:
parent
c811f7d06b
commit
62c7c8b5cf
|
@ -4093,9 +4093,9 @@ public class ChatActivityEnterView extends ChatBlurredFrameLayout implements Not
|
||||||
if (scheduleButtonValue) {
|
if (scheduleButtonValue) {
|
||||||
ActionBarMenuSubItem scheduleButton = new ActionBarMenuSubItem(getContext(), true, !sendWithoutSoundButtonValue, resourcesProvider);
|
ActionBarMenuSubItem scheduleButton = new ActionBarMenuSubItem(getContext(), true, !sendWithoutSoundButtonValue, resourcesProvider);
|
||||||
if (self) {
|
if (self) {
|
||||||
scheduleButton.setTextAndIcon(LocaleController.getString("SetReminder", R.string.SetReminder), R.drawable.msg_schedule);
|
scheduleButton.setTextAndIcon(LocaleController.getString("SetReminder", R.string.SetReminder), R.drawable.baseline_date_range_24);
|
||||||
} else {
|
} else {
|
||||||
scheduleButton.setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.msg_schedule);
|
scheduleButton.setTextAndIcon(LocaleController.getString("ScheduleMessage", R.string.ScheduleMessage), R.drawable.baseline_date_range_24);
|
||||||
}
|
}
|
||||||
scheduleButton.setMinimumWidth(AndroidUtilities.dp(196));
|
scheduleButton.setMinimumWidth(AndroidUtilities.dp(196));
|
||||||
scheduleButton.setOnClickListener(v -> {
|
scheduleButton.setOnClickListener(v -> {
|
||||||
|
@ -4108,7 +4108,7 @@ public class ChatActivityEnterView extends ChatBlurredFrameLayout implements Not
|
||||||
}
|
}
|
||||||
if (sendWithoutSoundButtonValue) {
|
if (sendWithoutSoundButtonValue) {
|
||||||
ActionBarMenuSubItem sendWithoutSoundButton = new ActionBarMenuSubItem(getContext(), !scheduleButtonValue, true, resourcesProvider);
|
ActionBarMenuSubItem sendWithoutSoundButton = new ActionBarMenuSubItem(getContext(), !scheduleButtonValue, true, resourcesProvider);
|
||||||
sendWithoutSoundButton.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
sendWithoutSoundButton.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||||
sendWithoutSoundButton.setMinimumWidth(AndroidUtilities.dp(196));
|
sendWithoutSoundButton.setMinimumWidth(AndroidUtilities.dp(196));
|
||||||
sendWithoutSoundButton.setOnClickListener(v -> {
|
sendWithoutSoundButton.setOnClickListener(v -> {
|
||||||
if (sendPopupWindow != null && sendPopupWindow.isShowing()) {
|
if (sendPopupWindow != null && sendPopupWindow.isShowing()) {
|
||||||
|
|
|
@ -1468,7 +1468,7 @@ public class ShareAlert extends BottomSheet implements NotificationCenter.Notifi
|
||||||
sendPopupLayout2.setupRadialSelectors(getThemedColor(Theme.key_dialogButtonSelector));
|
sendPopupLayout2.setupRadialSelectors(getThemedColor(Theme.key_dialogButtonSelector));
|
||||||
|
|
||||||
ActionBarMenuSubItem sendWithoutSound = new ActionBarMenuSubItem(getContext(), true, true, resourcesProvider);
|
ActionBarMenuSubItem sendWithoutSound = new ActionBarMenuSubItem(getContext(), true, true, resourcesProvider);
|
||||||
sendWithoutSound.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.input_notify_off);
|
sendWithoutSound.setTextAndIcon(LocaleController.getString("SendWithoutSound", R.string.SendWithoutSound), R.drawable.baseline_notifications_off_24);
|
||||||
sendWithoutSound.setMinimumWidth(AndroidUtilities.dp(196));
|
sendWithoutSound.setMinimumWidth(AndroidUtilities.dp(196));
|
||||||
sendPopupLayout2.addView(sendWithoutSound, LayoutHelper.createLinear(LayoutHelper.MATCH_PARENT, 48));
|
sendPopupLayout2.addView(sendWithoutSound, LayoutHelper.createLinear(LayoutHelper.MATCH_PARENT, 48));
|
||||||
sendWithoutSound.setOnClickListener(v -> {
|
sendWithoutSound.setOnClickListener(v -> {
|
||||||
|
|
Loading…
Reference in New Issue