Fix missing resident notification in debug menu

This commit is contained in:
NekoInverter 2020-07-26 22:39:24 +08:00 committed by 世界
parent fa12bde023
commit 5a1d88b2d1
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 2 additions and 2 deletions

View File

@ -2846,7 +2846,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
SharedConfig.inappCamera ? LocaleController.getString("DebugMenuDisableCamera", R.string.DebugMenuDisableCamera) : LocaleController.getString("DebugMenuEnableCamera", R.string.DebugMenuEnableCamera),
LocaleController.getString("DebugMenuClearMediaCache", R.string.DebugMenuClearMediaCache),
LocaleController.getString("DebugMenuCallSettings", R.string.DebugMenuCallSettings),
null,
NekoConfig.residentNotification ? LocaleController.getString("DisableResidentNotification", R.string.DisableResidentNotification) : LocaleController.getString("EnableResidentNotification", R.string.EnableResidentNotification),
BuildVars.DEBUG_PRIVATE_VERSION ? "Check for app updates" : null,
LocaleController.getString("DebugMenuReadAllDialogs", R.string.DebugMenuReadAllDialogs),
SharedConfig.pauseMusicOnRecord ? LocaleController.getString("DebugMenuDisablePauseMusic", R.string.DebugMenuDisablePauseMusic) : LocaleController.getString("DebugMenuEnablePauseMusic", R.string.DebugMenuEnablePauseMusic),
@ -2883,7 +2883,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
} else if (which == 7) {
VoIPHelper.showCallDebugSettings(getParentActivity());
} else if (which == 8) {
SharedConfig.toggleRoundCamera16to9();
NekoConfig.toggleResidentNotification();
} else if (which == 9) {
} else if (which == 10) {
getMessagesStorage().readAllDialogs(-1);