diff --git a/app/src/main/java/com/lateinit/rightweight/ui/MainActivity.kt b/app/src/main/java/com/lateinit/rightweight/ui/MainActivity.kt index c4eccb36..309fd3bd 100644 --- a/app/src/main/java/com/lateinit/rightweight/ui/MainActivity.kt +++ b/app/src/main/java/com/lateinit/rightweight/ui/MainActivity.kt @@ -85,7 +85,7 @@ class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelecte super.onCreate(savedInstanceState) binding = DataBindingUtil.setContentView(this@MainActivity, R.layout.activity_main) - isLoginBefore = intent.extras?.getBoolean("isLoginBefore") ?: false + isLoginBefore = intent.extras?.getBoolean("isLoginBefore", true) ?: true setCollectLoadingState() setActionBar()