From 7737218421e669a3cd62a2f79a9e9abdc5c18cd9 Mon Sep 17 00:00:00 2001 From: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> Date: Mon, 26 Aug 2024 01:42:52 +0800 Subject: [PATCH] Fix crash, update drawer padding range --- .../ui/preferences/destinations/AppDrawerPreferences.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt b/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt index 05a1e0a678..da79adc668 100644 --- a/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt +++ b/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt @@ -94,15 +94,15 @@ fun AppDrawerPreferences( SliderPreference( adapter = prefs2.drawerCellHeightFactor.getAdapter(), label = stringResource(id = R.string.row_height_label), - valueRange = 0.2F..1.5F, + valueRange = 0.3F..1.5F, step = 0.1F, showAsPercentage = true, ) SliderPreference( adapter = prefs2.drawerLeftRightMarginFactor.getAdapter(), label = stringResource(id = R.string.app_drawer_indent_label), - valueRange = 0.0F..2.0F, - step = 0.01F, + valueRange = 0.0F..1.5F, + step = 0.05F, showAsPercentage = true, ) }