mirror of https://github.com/NekoX-Dev/NekoX.git
Fix missing resident notification in debug menu
This commit is contained in:
parent
fa12bde023
commit
5a1d88b2d1
|
@ -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),
|
SharedConfig.inappCamera ? LocaleController.getString("DebugMenuDisableCamera", R.string.DebugMenuDisableCamera) : LocaleController.getString("DebugMenuEnableCamera", R.string.DebugMenuEnableCamera),
|
||||||
LocaleController.getString("DebugMenuClearMediaCache", R.string.DebugMenuClearMediaCache),
|
LocaleController.getString("DebugMenuClearMediaCache", R.string.DebugMenuClearMediaCache),
|
||||||
LocaleController.getString("DebugMenuCallSettings", R.string.DebugMenuCallSettings),
|
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,
|
BuildVars.DEBUG_PRIVATE_VERSION ? "Check for app updates" : null,
|
||||||
LocaleController.getString("DebugMenuReadAllDialogs", R.string.DebugMenuReadAllDialogs),
|
LocaleController.getString("DebugMenuReadAllDialogs", R.string.DebugMenuReadAllDialogs),
|
||||||
SharedConfig.pauseMusicOnRecord ? LocaleController.getString("DebugMenuDisablePauseMusic", R.string.DebugMenuDisablePauseMusic) : LocaleController.getString("DebugMenuEnablePauseMusic", R.string.DebugMenuEnablePauseMusic),
|
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) {
|
} else if (which == 7) {
|
||||||
VoIPHelper.showCallDebugSettings(getParentActivity());
|
VoIPHelper.showCallDebugSettings(getParentActivity());
|
||||||
} else if (which == 8) {
|
} else if (which == 8) {
|
||||||
SharedConfig.toggleRoundCamera16to9();
|
NekoConfig.toggleResidentNotification();
|
||||||
} else if (which == 9) {
|
} else if (which == 9) {
|
||||||
} else if (which == 10) {
|
} else if (which == 10) {
|
||||||
getMessagesStorage().readAllDialogs(-1);
|
getMessagesStorage().readAllDialogs(-1);
|
||||||
|
|
Loading…
Reference in New Issue