From e37c2f9515eaffd9f6486ad63a30fc8d650ded22 Mon Sep 17 00:00:00 2001 From: Yasan Date: Sat, 13 Aug 2022 14:36:14 +0430 Subject: [PATCH] Sort icon shapes alphabetically Co-authored-by: Daria Hamrah Paytakht --- .../ui/preferences/components/IconShapePreference.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lawnchair/src/app/lawnchair/ui/preferences/components/IconShapePreference.kt b/lawnchair/src/app/lawnchair/ui/preferences/components/IconShapePreference.kt index 5c2382ca5e..30f6845087 100644 --- a/lawnchair/src/app/lawnchair/ui/preferences/components/IconShapePreference.kt +++ b/lawnchair/src/app/lawnchair/ui/preferences/components/IconShapePreference.kt @@ -53,10 +53,10 @@ fun iconShapeEntries(context: Context): List> { return listOf( ListPreferenceEntry(systemShape) { stringResource(id = R.string.icon_shape_system) }, ListPreferenceEntry(IconShape.Circle) { stringResource(id = R.string.icon_shape_circle) }, - ListPreferenceEntry(IconShape.Cupertino) { stringResource(id = R.string.icon_shape_cupertino) }, ListPreferenceEntry(IconShape.Cylinder) { stringResource(id = R.string.icon_shape_cylinder) }, - ListPreferenceEntry(IconShape.RoundedSquare) { stringResource(id = R.string.icon_shape_rounded_square) }, + ListPreferenceEntry(IconShape.Cupertino) { stringResource(id = R.string.icon_shape_cupertino) }, ListPreferenceEntry(IconShape.Sammy) { stringResource(id = R.string.icon_shape_sammy) }, + ListPreferenceEntry(IconShape.RoundedSquare) { stringResource(id = R.string.icon_shape_rounded_square) }, ListPreferenceEntry(IconShape.Square) { stringResource(id = R.string.icon_shape_square) }, ListPreferenceEntry(IconShape.Squircle) { stringResource(id = R.string.icon_shape_squircle) }, ListPreferenceEntry(IconShape.Teardrop) { stringResource(id = R.string.icon_shape_teardrop) }, @@ -141,4 +141,4 @@ fun IconShapePreview( style = Stroke(width = 4f), ) } -} \ No newline at end of file +}