Disabled lines spacing customization option

This commit is contained in:
Abdelilah El Aissaoui 2024-07-20 01:25:38 +02:00
parent f5ee173453
commit 5c5a10262f
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -469,15 +469,16 @@ private fun Appearance(settingsViewModel: SettingsViewModel) {
)
}
SettingDropDown(
title = "Lists spacing",
subtitle = "Spacing around lists items",
dropDownOptions = linesHeightTypesList,
currentOption = linesHeightTypesList.first { it.value == currentLinesHeightType },
onOptionSelected = { dropDown ->
settingsViewModel.linesHeightType = dropDown.value
}
)
// TODO Uncomment this once UI/UX has been implemented properly
// SettingDropDown(
// title = "Lists spacing (Beta)",
// subtitle = "Spacing around lists items",
// dropDownOptions = linesHeightTypesList,
// currentOption = linesHeightTypesList.first { it.value == currentLinesHeightType },
// onOptionSelected = { dropDown ->
// settingsViewModel.linesHeightType = dropDown.value
// }
// )
val density = LocalDensity.current.density
var options by remember {