|
|
|
@ -50,9 +50,11 @@ class MainActivity : AppCompatActivity() {
|
|
|
|
if (sharedPref.getString("name", "") == "") {
|
|
|
|
if (sharedPref.getString("name", "") == "") {
|
|
|
|
showNameDialog(this, sharedPref, sharedPrefEditor, false)
|
|
|
|
showNameDialog(this, sharedPref, sharedPrefEditor, false)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
if (!BuildConfig.DEBUG) {
|
|
|
|
callUpdateCheck()
|
|
|
|
callUpdateCheck()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
override fun onPostCreate(savedInstanceState: Bundle?) {
|
|
|
|
override fun onPostCreate(savedInstanceState: Bundle?) {
|
|
|
|
super.onPostCreate(savedInstanceState)
|
|
|
|
super.onPostCreate(savedInstanceState)
|
|
|
|
|