renaming some variables

This commit is contained in:
tibbi 2022-06-27 10:00:39 +02:00
parent c68f85cbac
commit 9ca8ec7c96
2 changed files with 8 additions and 8 deletions

View file

@ -20,7 +20,7 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
private var mWidgetId = 0
private var mBgColor = 0
private var mBgColorWithoutTransparency = 0
private var mWidgetLockedDialog: FeatureLockedDialog? = null
private var mFeatureLockedDialog: FeatureLockedDialog? = null
public override fun onCreate(savedInstanceState: Bundle?) {
useDynamicTheme = false
@ -43,7 +43,7 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
config_analogue_bg_seekbar.setColors(getProperTextColor(), primaryColor, primaryColor)
if (!isCustomizingColors && !isOrWasThankYouInstalled()) {
mWidgetLockedDialog = FeatureLockedDialog(this) {
mFeatureLockedDialog = FeatureLockedDialog(this) {
if (!isOrWasThankYouInstalled()) {
finish()
}
@ -55,8 +55,8 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
super.onResume()
window.decorView.setBackgroundColor(0)
if (mWidgetLockedDialog != null && isOrWasThankYouInstalled()) {
mWidgetLockedDialog?.dismissDialog()
if (mFeatureLockedDialog != null && isOrWasThankYouInstalled()) {
mFeatureLockedDialog?.dismissDialog()
}
}

View file

@ -21,7 +21,7 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
private var mBgColor = 0
private var mTextColor = 0
private var mBgColorWithoutTransparency = 0
private var mWidgetLockedDialog: FeatureLockedDialog? = null
private var mFeatureLockedDialog: FeatureLockedDialog? = null
public override fun onCreate(savedInstanceState: Bundle?) {
useDynamicTheme = false
@ -45,7 +45,7 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
config_digital_bg_seekbar.setColors(mTextColor, primaryColor, primaryColor)
if (!isCustomizingColors && !isOrWasThankYouInstalled()) {
mWidgetLockedDialog = FeatureLockedDialog(this) {
mFeatureLockedDialog = FeatureLockedDialog(this) {
if (!isOrWasThankYouInstalled()) {
finish()
}
@ -57,8 +57,8 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
super.onResume()
window.decorView.setBackgroundColor(0)
if (mWidgetLockedDialog != null && isOrWasThankYouInstalled()) {
mWidgetLockedDialog?.dismissDialog()
if (mFeatureLockedDialog != null && isOrWasThankYouInstalled()) {
mFeatureLockedDialog?.dismissDialog()
}
}