mirror of https://github.com/NekoX-Dev/NekoX.git
[UI] 移除默认夜间模式按钮
This commit is contained in:
parent
cf3a25e608
commit
a3ccd173c0
|
@ -3638,7 +3638,7 @@ public class ArticleViewer implements NotificationCenter.NotificationCenterDeleg
|
|||
|
||||
menuButton.addSubItem(share_item, R.drawable.msg_share, LocaleController.getString("ShareFile", R.string.ShareFile));
|
||||
menuButton.addSubItem(open_item, R.drawable.msg_openin, LocaleController.getString("OpenInExternalApp", R.string.OpenInExternalApp));
|
||||
menuButton.addSubItem(settings_item, R.drawable.menu_settings, LocaleController.getString("Settings", R.string.Settings));
|
||||
menuButton.addSubItem(settings_item, R.drawable.baseline_share_24, LocaleController.getString("Settings", R.string.Settings));
|
||||
menuButton.setBackgroundDrawable(Theme.createSelectorDrawable(Theme.ACTION_BAR_WHITE_SELECTOR_COLOR));
|
||||
menuButton.setContentDescription(LocaleController.getString("AccDescrMoreOptions", R.string.AccDescrMoreOptions));
|
||||
menuContainer.addView(menuButton, LayoutHelper.createFrame(48, 56));
|
||||
|
|
|
@ -155,7 +155,7 @@ public class DrawerProfileCell extends FrameLayout {
|
|||
pos[1] += darkThemeView.getMeasuredHeight() / 2;
|
||||
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.needSetDayNightTheme, themeInfo, false, pos, -1);
|
||||
});
|
||||
addView(darkThemeView, LayoutHelper.createFrame(48, 48, Gravity.RIGHT | Gravity.BOTTOM, 0, 0, 6, 90));
|
||||
//addView(darkThemeView, LayoutHelper.createFrame(48, 48, Gravity.RIGHT | Gravity.BOTTOM, 0, 0, 6, 90));
|
||||
|
||||
if (Theme.getEventType() == 0) {
|
||||
snowflakesEffect = new SnowflakesEffect();
|
||||
|
|
|
@ -14219,7 +14219,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||
if (!UserObject.isUserSelf(currentUser) && NekoConfig.showAddToSavedMessages) {
|
||||
items.add(LocaleController.getString("AddToSavedMessages", R.string.AddToSavedMessages));
|
||||
options.add(93);
|
||||
icons.add(R.drawable.menu_saved);
|
||||
icons.add(R.drawable.baseline_bookmark_24);
|
||||
}
|
||||
boolean allowRepeat = currentUser != null
|
||||
|| (currentChat != null && ChatObject.canSendMessages(currentChat));
|
||||
|
|
Loading…
Reference in New Issue