From 5c5a10262f531b87f8a9610aac81a5aec9149d7a Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Sat, 20 Jul 2024 01:25:38 +0200 Subject: [PATCH] Disabled lines spacing customization option --- .../ui/dialogs/settings/SettingsDialog.kt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/dialogs/settings/SettingsDialog.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/dialogs/settings/SettingsDialog.kt index 31cf936..929cf44 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/dialogs/settings/SettingsDialog.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/dialogs/settings/SettingsDialog.kt @@ -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 {