Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.12.23' propVersionName = '3.12.24' kotlin_version = '1.2.21' support_libs = '27.0.2' } Loading commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt +4 −0 Original line number Diff line number Diff line Loading @@ -159,4 +159,8 @@ open class BaseConfig(val context: Context) { var hadThankYouInstalled: Boolean get() = prefs.getBoolean(HAD_THANK_YOU_INSTALLED, false) set(hadThankYouInstalled) = prefs.edit().putBoolean(HAD_THANK_YOU_INSTALLED, hadThankYouInstalled).apply() var skipDeleteConfirmation: Boolean get() = prefs.getBoolean(SKIP_DELETE_CONFIRMATION, false) set(skipDeleteConfirmation) = prefs.edit().putBoolean(SKIP_DELETE_CONFIRMATION, skipDeleteConfirmation).apply() } commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt +1 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ const val LAST_CONFLICT_RESOLUTION = "last_conflict_resolution" const val LAST_CONFLICT_APPLY_TO_ALL = "last_conflict_apply_to_all" const val AVOID_WHATS_NEW = "avoid_whats_new" const val HAD_THANK_YOU_INSTALLED = "had_thank_you_installed" const val SKIP_DELETE_CONFIRMATION = "skip_delete_confirmation" // licenses const val LICENSE_KOTLIN = 1 Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ buildscript { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 propVersionName = '3.12.23' propVersionName = '3.12.24' kotlin_version = '1.2.21' support_libs = '27.0.2' } Loading
commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt +4 −0 Original line number Diff line number Diff line Loading @@ -159,4 +159,8 @@ open class BaseConfig(val context: Context) { var hadThankYouInstalled: Boolean get() = prefs.getBoolean(HAD_THANK_YOU_INSTALLED, false) set(hadThankYouInstalled) = prefs.edit().putBoolean(HAD_THANK_YOU_INSTALLED, hadThankYouInstalled).apply() var skipDeleteConfirmation: Boolean get() = prefs.getBoolean(SKIP_DELETE_CONFIRMATION, false) set(skipDeleteConfirmation) = prefs.edit().putBoolean(SKIP_DELETE_CONFIRMATION, skipDeleteConfirmation).apply() }
commons/src/main/kotlin/com/simplemobiletools/commons/helpers/Constants.kt +1 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ const val LAST_CONFLICT_RESOLUTION = "last_conflict_resolution" const val LAST_CONFLICT_APPLY_TO_ALL = "last_conflict_apply_to_all" const val AVOID_WHATS_NEW = "avoid_whats_new" const val HAD_THANK_YOU_INSTALLED = "had_thank_you_installed" const val SKIP_DELETE_CONFIRMATION = "skip_delete_confirmation" // licenses const val LICENSE_KOTLIN = 1 Loading