fix: bring back test backend on beta

This commit is contained in:
ZavaruKitsu
2023-07-26 22:41:58 +00:00
parent da8db4be2f
commit 68e562d9bf

View File

@@ -2240,7 +2240,7 @@ public class LoginActivity extends BaseFragment implements NotificationCenter.No
});
}
if (false) {
if (activityMode == MODE_LOGIN && BuildVars.isBetaApp()) {
testBackendCheckBox = new CheckBoxCell(context, 2);
testBackendCheckBox.setText(LocaleController.getString(R.string.DebugTestBackend), "", testBackend, false);
addView(testBackendCheckBox, LayoutHelper.createLinear(LayoutHelper.WRAP_CONTENT, LayoutHelper.MATCH_PARENT, Gravity.LEFT | Gravity.TOP, 16, 0, 16 + (LocaleController.isRTL && AndroidUtilities.isSmallScreen() ? 56 : 0), 0));