Tutorial removed from log out state (#4479)

* tutorial removed from log out state

* Issue removed
This commit is contained in:
Ayan Sarkar 2021-06-29 14:42:30 +05:30 committed by GitHub
parent e9a2c32527
commit 51d06c1ef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 19 deletions

View file

@ -21,6 +21,7 @@ import butterknife.BindView;
import butterknife.ButterKnife;
import fr.free.nrw.commons.CommonsApplication;
import fr.free.nrw.commons.R;
import fr.free.nrw.commons.WelcomeActivity;
import fr.free.nrw.commons.auth.SessionManager;
import fr.free.nrw.commons.bookmarks.BookmarkFragment;
import fr.free.nrw.commons.explore.ExploreFragment;
@ -356,6 +357,11 @@ public class MainActivity extends BaseActivity
@Override
protected void onResume() {
super.onResume();
if ((applicationKvStore.getBoolean("firstrun", true)) &&
(!applicationKvStore.getBoolean("login_skipped"))) {
WelcomeActivity.startYourself(this);
}
}
@Override