release 2.3.1

This commit is contained in:
tom79 2019-06-01 10:00:59 +02:00
parent c26d01b900
commit 37e7170509
2 changed files with 6 additions and 2 deletions

View File

@ -6,8 +6,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 28 targetSdkVersion 28
versionCode 276 versionCode 277
versionName "2.3.0" versionName "2.3.1"
multiDexEnabled true multiDexEnabled true
renderscriptTargetApi 28 as int renderscriptTargetApi 28 as int
renderscriptSupportModeEnabled true renderscriptSupportModeEnabled true

View File

@ -273,6 +273,10 @@ public class LoginActivity extends BaseActivity {
return; return;
} }
instance = login_instance.getText().toString().trim().toLowerCase(); instance = login_instance.getText().toString().trim().toLowerCase();
if(instance.endsWith(".gab.com") || instance.equals("gab.com")){
Toasty.error(LoginActivity.this,getString(R.string.client_error), Toast.LENGTH_LONG).show();
return;
}
connect_button.setEnabled(false); connect_button.setEnabled(false);
new Thread(new Runnable(){ new Thread(new Runnable(){
@Override @Override