We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8053066 commit 577fb02Copy full SHA for 577fb02
app/src/main/java/fr/free/nrw/commons/WelcomeActivity.java
@@ -86,7 +86,11 @@ public void onBackPressed() {
86
if (pager.getCurrentItem() != 0) {
87
pager.setCurrentItem(pager.getCurrentItem() - 1, true);
88
} else {
89
- finish();
+ if (defaultKvStore.getBoolean("firstrun", true)) {
90
+ finishAffinity();
91
+ } else {
92
+ super.onBackPressed();
93
+ }
94
}
95
96
0 commit comments