mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
renaming some variables
This commit is contained in:
@ -20,7 +20,7 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
|
|||||||
private var mWidgetId = 0
|
private var mWidgetId = 0
|
||||||
private var mBgColor = 0
|
private var mBgColor = 0
|
||||||
private var mBgColorWithoutTransparency = 0
|
private var mBgColorWithoutTransparency = 0
|
||||||
private var mWidgetLockedDialog: FeatureLockedDialog? = null
|
private var mFeatureLockedDialog: FeatureLockedDialog? = null
|
||||||
|
|
||||||
public override fun onCreate(savedInstanceState: Bundle?) {
|
public override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
useDynamicTheme = false
|
useDynamicTheme = false
|
||||||
@ -43,7 +43,7 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
|
|||||||
config_analogue_bg_seekbar.setColors(getProperTextColor(), primaryColor, primaryColor)
|
config_analogue_bg_seekbar.setColors(getProperTextColor(), primaryColor, primaryColor)
|
||||||
|
|
||||||
if (!isCustomizingColors && !isOrWasThankYouInstalled()) {
|
if (!isCustomizingColors && !isOrWasThankYouInstalled()) {
|
||||||
mWidgetLockedDialog = FeatureLockedDialog(this) {
|
mFeatureLockedDialog = FeatureLockedDialog(this) {
|
||||||
if (!isOrWasThankYouInstalled()) {
|
if (!isOrWasThankYouInstalled()) {
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
@ -55,8 +55,8 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
|
|||||||
super.onResume()
|
super.onResume()
|
||||||
window.decorView.setBackgroundColor(0)
|
window.decorView.setBackgroundColor(0)
|
||||||
|
|
||||||
if (mWidgetLockedDialog != null && isOrWasThankYouInstalled()) {
|
if (mFeatureLockedDialog != null && isOrWasThankYouInstalled()) {
|
||||||
mWidgetLockedDialog?.dismissDialog()
|
mFeatureLockedDialog?.dismissDialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
|
|||||||
private var mBgColor = 0
|
private var mBgColor = 0
|
||||||
private var mTextColor = 0
|
private var mTextColor = 0
|
||||||
private var mBgColorWithoutTransparency = 0
|
private var mBgColorWithoutTransparency = 0
|
||||||
private var mWidgetLockedDialog: FeatureLockedDialog? = null
|
private var mFeatureLockedDialog: FeatureLockedDialog? = null
|
||||||
|
|
||||||
public override fun onCreate(savedInstanceState: Bundle?) {
|
public override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
useDynamicTheme = false
|
useDynamicTheme = false
|
||||||
@ -45,7 +45,7 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
|
|||||||
config_digital_bg_seekbar.setColors(mTextColor, primaryColor, primaryColor)
|
config_digital_bg_seekbar.setColors(mTextColor, primaryColor, primaryColor)
|
||||||
|
|
||||||
if (!isCustomizingColors && !isOrWasThankYouInstalled()) {
|
if (!isCustomizingColors && !isOrWasThankYouInstalled()) {
|
||||||
mWidgetLockedDialog = FeatureLockedDialog(this) {
|
mFeatureLockedDialog = FeatureLockedDialog(this) {
|
||||||
if (!isOrWasThankYouInstalled()) {
|
if (!isOrWasThankYouInstalled()) {
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
@ -57,8 +57,8 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
|
|||||||
super.onResume()
|
super.onResume()
|
||||||
window.decorView.setBackgroundColor(0)
|
window.decorView.setBackgroundColor(0)
|
||||||
|
|
||||||
if (mWidgetLockedDialog != null && isOrWasThankYouInstalled()) {
|
if (mFeatureLockedDialog != null && isOrWasThankYouInstalled()) {
|
||||||
mWidgetLockedDialog?.dismissDialog()
|
mFeatureLockedDialog?.dismissDialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user