From c060a2ab88d129e233c9390c266dd1ab0c83b7cc Mon Sep 17 00:00:00 2001 From: m2049r Date: Wed, 16 Sep 2020 19:59:58 +0200 Subject: [PATCH] don't show onboarding every time --- app/src/main/java/com/m2049r/xmrwallet/MainActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/m2049r/xmrwallet/MainActivity.java b/app/src/main/java/com/m2049r/xmrwallet/MainActivity.java index cff572d..1d2b889 100644 --- a/app/src/main/java/com/m2049r/xmrwallet/MainActivity.java +++ b/app/src/main/java/com/m2049r/xmrwallet/MainActivity.java @@ -24,13 +24,11 @@ import android.support.v7.app.AppCompatActivity; import com.m2049r.xmrwallet.onboarding.OnBoardingActivity; import com.m2049r.xmrwallet.onboarding.OnBoardingManager; -import timber.log.Timber; - public class MainActivity extends AppCompatActivity { @Override protected void onCreate(@Nullable final Bundle savedInstanceState) { super.onCreate(savedInstanceState); - if (OnBoardingManager.shouldShowOnBoarding(getApplicationContext()) || BuildConfig.DEBUG) { + if (OnBoardingManager.shouldShowOnBoarding(getApplicationContext())) { startActivity(new Intent(this, OnBoardingActivity.class)); } else { startActivity(new Intent(this, LoginActivity.class));