adding a config item about showing Upgraded From Free dialog
This commit is contained in:
parent
c714b79f48
commit
dd011ad45c
3 changed files with 6 additions and 1 deletions
|
@ -7,7 +7,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.10.21'
|
||||
propVersionName = '5.10.22'
|
||||
kotlin_version = '1.3.21'
|
||||
}
|
||||
|
||||
|
|
|
@ -306,4 +306,8 @@ open class BaseConfig(val context: Context) {
|
|||
var wasOTGHandled: Boolean
|
||||
get() = prefs.getBoolean(WAS_OTG_HANDLED, false)
|
||||
set(wasOTGHandled) = prefs.edit().putBoolean(WAS_OTG_HANDLED, wasOTGHandled).apply()
|
||||
|
||||
var wasUpgradedFromFreeShown: Boolean
|
||||
get() = prefs.getBoolean(WAS_UPGRADED_FROM_FREE_SHOWN, false)
|
||||
set(wasUpgradedFromFreeShown) = prefs.edit().putBoolean(WAS_UPGRADED_FROM_FREE_SHOWN, wasUpgradedFromFreeShown).apply()
|
||||
}
|
||||
|
|
|
@ -103,6 +103,7 @@ const val WAS_APP_ICON_CUSTOMIZATION_WARNING_SHOWN = "was_app_icon_customization
|
|||
const val APP_SIDELOADING_STATUS = "app_sideloading_status"
|
||||
const val DATE_FORMAT = "date_format"
|
||||
const val WAS_OTG_HANDLED = "was_otg_handled_2"
|
||||
const val WAS_UPGRADED_FROM_FREE_SHOWN = "was_upgraded_from_free_shown"
|
||||
|
||||
// licenses
|
||||
internal const val LICENSE_KOTLIN = 1
|
||||
|
|
Loading…
Reference in a new issue