Commit dfe79055 authored by wanglei's avatar wanglei

[迭代]

parent ee6410e0
...@@ -7,7 +7,7 @@ object SpConstObject { ...@@ -7,7 +7,7 @@ object SpConstObject {
//是否已经点击start //是否已经点击start
var ifAgreePrivacy = false var ifAgreePrivacy = true
get() { get() {
return AppPreferences.getInstance().getBoolean("ifAgreePrivacy", field) return AppPreferences.getInstance().getBoolean("ifAgreePrivacy", field)
} }
...@@ -18,7 +18,7 @@ object SpConstObject { ...@@ -18,7 +18,7 @@ object SpConstObject {
//是否已经走过引导页 //是否已经走过引导页
var isGuided var isGuided
get() = AppPreferences.getInstance().getBoolean("isGuided", false) get() = AppPreferences.getInstance().getBoolean("isGuided", true)
set(value) = AppPreferences.getInstance().putBoolean("isGuided", value) set(value) = AppPreferences.getInstance().putBoolean("isGuided", value)
......
...@@ -16,6 +16,7 @@ class MainViewModel : ViewModel() { ...@@ -16,6 +16,7 @@ class MainViewModel : ViewModel() {
var nextShowDialog: Boolean = true var nextShowDialog: Boolean = true
fun checkDialog(context: Context) { fun checkDialog(context: Context) {
return
if (!nextShowDialog) { if (!nextShowDialog) {
nextShowDialog = true 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