aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org/marcinzelent/liberavem/LoginActivity.java')
-rw-r--r--app/src/main/java/org/marcinzelent/liberavem/LoginActivity.java15
1 files changed, 6 insertions, 9 deletions
diff --git a/app/src/main/java/org/marcinzelent/liberavem/LoginActivity.java b/app/src/main/java/org/marcinzelent/liberavem/LoginActivity.java
index 25acb3d..354e786 100644
--- a/app/src/main/java/org/marcinzelent/liberavem/LoginActivity.java
+++ b/app/src/main/java/org/marcinzelent/liberavem/LoginActivity.java
@@ -39,15 +39,12 @@ public class LoginActivity extends AppCompatActivity {
// set the view now
setContentView(R.layout.activity_login);
- Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
- setSupportActionBar(toolbar);
-
- inputEmail = (EditText) findViewById(R.id.email);
- inputPassword = (EditText) findViewById(R.id.password);
- progressBar = (ProgressBar) findViewById(R.id.progressBar);
- btnSignup = (Button) findViewById(R.id.btn_signup);
- btnLogin = (Button) findViewById(R.id.btn_login);
- btnReset = (Button) findViewById(R.id.btn_reset_password);
+ inputEmail = findViewById(R.id.email);
+ inputPassword = findViewById(R.id.password);
+ progressBar = findViewById(R.id.progressBar);
+ btnSignup = findViewById(R.id.btn_signup);
+ btnLogin = findViewById(R.id.btn_login);
+ btnReset = findViewById(R.id.btn_reset_password);
//Get Firebase auth instance
auth = FirebaseAuth.getInstance();