Sort icon shapes alphabetically
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
This commit is contained in:
@@ -53,10 +53,10 @@ fun iconShapeEntries(context: Context): List<ListPreferenceEntry<IconShape>> {
|
||||
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),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user