mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Add explicit mention of beta server to login screen (#1102)
* Add explicit mention of beta server to login screen of beta product flavour * Add explicit mention of beta server to login screen of beta product flavour * Add explicit mention of beta server to login screen of beta product flavour * Add explicit mention of beta server to login screen of beta product flavour * Add explicit mention of beta server to login screen of beta product flavour * Add explicit mention of beta server to login screen of beta product flavour
This commit is contained in:
		
							parent
							
								
									a7a2b51ceb
								
							
						
					
					
						commit
						a52680d646
					
				
					 3 changed files with 25 additions and 2 deletions
				
			
		|  | @ -72,6 +72,7 @@ public class LoginActivity extends AccountAuthenticatorActivity { | |||
|     @BindView(R.id.loginTwoFactor) EditText twoFactorEdit; | ||||
|     @BindView(R.id.error_message_container) ViewGroup errorMessageContainer; | ||||
|     @BindView(R.id.error_message) TextView errorMessage; | ||||
|     @BindView(R.id.login_credentials) TextView loginCredentials; | ||||
|     @BindView(R.id.two_factor_container)TextInputLayout twoFactorContainer; | ||||
|     ProgressDialog progressDialog; | ||||
|     private AppCompatDelegate delegate; | ||||
|  | @ -112,6 +113,12 @@ public class LoginActivity extends AccountAuthenticatorActivity { | |||
| 
 | ||||
|         loginButton.setOnClickListener(view -> performLogin()); | ||||
|         signupButton.setOnClickListener(view -> signUp()); | ||||
| 
 | ||||
|         if(BuildConfig.FLAVOR == "beta"){ | ||||
|             loginCredentials.setText(getString(R.string.login_credential)); | ||||
|         } else { | ||||
|             loginCredentials.setVisibility(View.GONE); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tanvi Dadu
						Tanvi Dadu