Commit dfe79055 authored by wanglei's avatar wanglei

[迭代]

parent ee6410e0
......@@ -7,7 +7,7 @@ object SpConstObject {
//是否已经点击start
var ifAgreePrivacy = false
var ifAgreePrivacy = true
get() {
return AppPreferences.getInstance().getBoolean("ifAgreePrivacy", field)
}
......@@ -18,7 +18,7 @@ object SpConstObject {
//是否已经走过引导页
var isGuided
get() = AppPreferences.getInstance().getBoolean("isGuided", false)
get() = AppPreferences.getInstance().getBoolean("isGuided", true)
set(value) = AppPreferences.getInstance().putBoolean("isGuided", value)
......
......@@ -16,6 +16,7 @@ class MainViewModel : ViewModel() {
var nextShowDialog: Boolean = true
fun checkDialog(context: Context) {
return
if (!nextShowDialog) {
nextShowDialog = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment