Hidden "Show events happening" setting at widget color config screen (#1617)

This commit is contained in:
Agnieszka C 2022-01-13 20:55:52 +01:00
parent e8019d7528
commit 3af9bd3bb0
1 changed files with 3 additions and 4 deletions

View File

@ -23,10 +23,7 @@ import com.simplemobiletools.calendar.pro.models.ListSectionDay
import com.simplemobiletools.calendar.pro.models.Widget import com.simplemobiletools.calendar.pro.models.Widget
import com.simplemobiletools.commons.dialogs.ColorPickerDialog import com.simplemobiletools.commons.dialogs.ColorPickerDialog
import com.simplemobiletools.commons.dialogs.RadioGroupDialog import com.simplemobiletools.commons.dialogs.RadioGroupDialog
import com.simplemobiletools.commons.extensions.adjustAlpha import com.simplemobiletools.commons.extensions.*
import com.simplemobiletools.commons.extensions.applyColorFilter
import com.simplemobiletools.commons.extensions.hideKeyboard
import com.simplemobiletools.commons.extensions.setFillWithStroke
import com.simplemobiletools.commons.helpers.* import com.simplemobiletools.commons.helpers.*
import com.simplemobiletools.commons.models.RadioItem import com.simplemobiletools.commons.models.RadioItem
import kotlinx.android.synthetic.main.widget_config_list.* import kotlinx.android.synthetic.main.widget_config_list.*
@ -68,6 +65,8 @@ class WidgetListConfigureActivity : SimpleActivity() {
config_bg_color.setOnClickListener { pickBackgroundColor() } config_bg_color.setOnClickListener { pickBackgroundColor() }
config_text_color.setOnClickListener { pickTextColor() } config_text_color.setOnClickListener { pickTextColor() }
period_picker_holder.beGoneIf(isCustomizingColors)
val primaryColor = config.primaryColor val primaryColor = config.primaryColor
config_bg_seekbar.setColors(mTextColor, primaryColor, primaryColor) config_bg_seekbar.setColors(mTextColor, primaryColor, primaryColor)
} }