[UI] 移除默认夜间模式按钮

This commit is contained in:
世界 2020-04-11 01:29:14 +08:00
parent cf3a25e608
commit a3ccd173c0
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
3 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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();

View File

@ -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));