apply proper color at Backups settings label

This commit is contained in:
Tibor Kaputa 2023-07-20 09:08:16 +02:00 committed by GitHub
parent 5c8f39c626
commit 3c3e2b8b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import com.simplemobiletools.contacts.pro.extensions.cancelScheduledAutomaticBac
import com.simplemobiletools.contacts.pro.extensions.config
import com.simplemobiletools.contacts.pro.extensions.scheduleNextAutomaticBackup
import kotlinx.android.synthetic.main.activity_settings.*
import java.util.*
import java.util.Locale
import kotlin.system.exitProcess
class SettingsActivity : SimpleActivity() {
@ -50,7 +50,13 @@ class SettingsActivity : SimpleActivity() {
setupManageAutomaticBackups()
updateTextColors(settings_holder)
arrayOf(settings_color_customization_section_label, settings_general_settings_label, settings_main_screen_label, settings_list_view_label).forEach {
arrayOf(
settings_color_customization_section_label,
settings_general_settings_label,
settings_main_screen_label,
settings_list_view_label,
settings_backups_label
).forEach {
it.setTextColor(getProperPrimaryColor())
}
}