diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 9b8528c51e..c89eed9ddd 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -4,6 +4,7 @@ on: push: branches: - dev + - test paths-ignore: - '**.md' - '.github/**' diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java index 6f8a7a9fcf..88ed520bfb 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java @@ -4200,7 +4200,7 @@ public void openExceptions() { return Unit.INSTANCE; }); - if (NaConfig.INSTANCE.getShowHiddenFeature().Bool()) { + if (NekoXConfig.isDeveloper()) { builder.addItem(LocaleController.getString("DeveloperSettings", R.string.DeveloperSettings), R.drawable.baseline_developer_mode_24, (it) -> { BottomBuilder devBuilder = new BottomBuilder(ProfileActivity.this.getParentActivity()); devBuilder.addTitle(LocaleController.getString("DevModeTitle", R.string.DevModeTitle), LocaleController.getString("DevModeNotice", R.string.DevModeNotice));