@@ -7,7 +7,7 @@ import android.graphics.Color
77import android.os.Bundle
88import android.widget.SeekBar
99import com.simplemobiletools.commons.dialogs.ColorPickerDialog
10- import com.simplemobiletools.commons.dialogs.WidgetLockedDialog
10+ import com.simplemobiletools.commons.dialogs.FeatureLockedDialog
1111import com.simplemobiletools.commons.extensions.*
1212import com.simplemobiletools.commons.helpers.IS_CUSTOMIZING_COLORS
1313import com.simplemobiletools.flashlight.R
@@ -20,7 +20,7 @@ class WidgetBrightDisplayConfigureActivity : SimpleActivity() {
2020 private var mWidgetId = 0
2121 private var mWidgetColor = 0
2222 private var mWidgetColorWithoutTransparency = 0
23- private var mWidgetLockedDialog : WidgetLockedDialog ? = null
23+ private var mFeatureLockedDialog : FeatureLockedDialog ? = null
2424
2525 public override fun onCreate (savedInstanceState : Bundle ? ) {
2626 useDynamicTheme = false
@@ -43,7 +43,7 @@ class WidgetBrightDisplayConfigureActivity : SimpleActivity() {
4343 config_widget_seekbar.setColors(getProperTextColor(), primaryColor, primaryColor)
4444
4545 if (! isCustomizingColors && ! isOrWasThankYouInstalled()) {
46- mWidgetLockedDialog = WidgetLockedDialog (this ) {
46+ mFeatureLockedDialog = FeatureLockedDialog (this ) {
4747 if (! isOrWasThankYouInstalled()) {
4848 finish()
4949 }
@@ -55,8 +55,8 @@ class WidgetBrightDisplayConfigureActivity : SimpleActivity() {
5555 super .onResume()
5656 window.decorView.setBackgroundColor(0 )
5757
58- if (mWidgetLockedDialog != null && isOrWasThankYouInstalled()) {
59- mWidgetLockedDialog ?.dismissDialog()
58+ if (mFeatureLockedDialog != null && isOrWasThankYouInstalled()) {
59+ mFeatureLockedDialog ?.dismissDialog()
6060 }
6161 }
6262
0 commit comments