Removed getSupportActionBar command

The getSupportActionBar method caused a null pointer exception in deviced running Android SDK >21 but there is actually no need for it since the theme doesn't have an Action Bar.
This commit is contained in:
Fotis Tsalampounis 2017-05-20 13:14:11 +03:00 committed by GitHub
parent a826ca4049
commit b83248505f

View file

@ -20,8 +20,6 @@ public class SignupActivity extends BaseActivity {
super.onCreate(savedInstanceState);
Timber.d("Signup Activity started");
getSupportActionBar().hide();
webView = new WebView(this);
setContentView(webView);