Adding ability to login again when version check failes. (#417)
add own error message for this Merge branch 'master' into login-fix Merge branch 'master' into login-fix Merge branch 'master' into login-fix Adding ability to login again when version check failes. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: 6543 <6543@noreply.gitea.io> Co-authored-by: opyale <example@example.com> Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/417 Reviewed-by: M M Arif <mmarif@swatian.com>
This commit is contained in:
		@@ -511,6 +511,9 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
 | 
			
		||||
            public void onFailure(@NonNull Call<GiteaVersion> callVersion, Throwable t) {
 | 
			
		||||
 | 
			
		||||
                Log.e("onFailure-version", t.toString());
 | 
			
		||||
                SnackBar.error(getApplicationContext(), layoutView, getResources().getString(R.string.errorOnLogin));
 | 
			
		||||
                enableProcessButton();
 | 
			
		||||
                loginButton.setText(R.string.btnLogin);
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user