set the widget config Save text color to the primary color
This commit is contained in:
parent
69b77a296a
commit
bd22244a85
1 changed files with 2 additions and 4 deletions
|
@ -7,10 +7,7 @@ import android.graphics.Color
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.widget.RemoteViews
|
import android.widget.RemoteViews
|
||||||
import com.simplemobiletools.commons.dialogs.ColorPickerDialog
|
import com.simplemobiletools.commons.dialogs.ColorPickerDialog
|
||||||
import com.simplemobiletools.commons.extensions.adjustAlpha
|
import com.simplemobiletools.commons.extensions.*
|
||||||
import com.simplemobiletools.commons.extensions.onSeekBarChangeListener
|
|
||||||
import com.simplemobiletools.commons.extensions.setBackgroundColor
|
|
||||||
import com.simplemobiletools.commons.extensions.setFillWithStroke
|
|
||||||
import com.simplemobiletools.gallery.pro.R
|
import com.simplemobiletools.gallery.pro.R
|
||||||
import com.simplemobiletools.gallery.pro.extensions.config
|
import com.simplemobiletools.gallery.pro.extensions.config
|
||||||
import com.simplemobiletools.gallery.pro.extensions.widgetsDB
|
import com.simplemobiletools.gallery.pro.extensions.widgetsDB
|
||||||
|
@ -39,6 +36,7 @@ class WidgetConfigureActivity : SimpleActivity() {
|
||||||
|
|
||||||
config_save.setOnClickListener { saveConfig() }
|
config_save.setOnClickListener { saveConfig() }
|
||||||
config_bg_color.setOnClickListener { pickBackgroundColor() }
|
config_bg_color.setOnClickListener { pickBackgroundColor() }
|
||||||
|
config_save.setTextColor(getAdjustedPrimaryColor())
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initVariables() {
|
private fun initVariables() {
|
||||||
|
|
Loading…
Reference in a new issue