match divider color from xml

This commit is contained in:
FunkyMuse 2023-07-10 09:56:34 +02:00
parent c81243a07e
commit f9f8b53eb5

View file

@ -25,6 +25,7 @@ import com.simplemobiletools.calculator.compose.settings.SettingsGroup
import com.simplemobiletools.calculator.compose.settings.SettingsPreferenceComponent
import com.simplemobiletools.calculator.compose.settings.SettingsTitleTextComponent
import com.simplemobiletools.calculator.compose.theme.AppThemeSurface
import com.simplemobiletools.calculator.compose.theme.divider_grey
import com.simplemobiletools.calculator.compose.theme.isSurfaceLitWell
import com.simplemobiletools.commons.R
import com.simplemobiletools.commons.extensions.getCustomizeColorsString
@ -120,7 +121,7 @@ fun SettingsScreen(
doOnPreferenceClick = customizeWidgetColors
)
}
Divider()
Divider(color = divider_grey)
SettingsGroup(title = {
SettingsTitleTextComponent(text = stringResource(id = R.string.general_settings))
}) {