Skip to content

Commit b832485

Browse files
authored
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.
1 parent a826ca4 commit b832485

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ protected void onCreate(Bundle savedInstanceState) {
2020
super.onCreate(savedInstanceState);
2121
Timber.d("Signup Activity started");
2222

23-
getSupportActionBar().hide();
24-
2523
webView = new WebView(this);
2624
setContentView(webView);
2725

0 commit comments

Comments
 (0)