Fix SettingsScreen imperfections

This commit is contained in:
vfsfitvnm
2022-07-27 19:22:35 +02:00
parent 28af669ccf
commit 9b85f23539

View File

@@ -99,7 +99,7 @@ fun SettingsScreen() {
BasicText( BasicText(
text = "Settings", text = "Settings",
style = typography.m.semiBold, style = typography.l.semiBold,
modifier = Modifier modifier = Modifier
.padding(start = 48.dp) .padding(start = 48.dp)
.padding(all = 16.dp) .padding(all = 16.dp)
@@ -157,7 +157,7 @@ fun SettingsScreen() {
BasicText( BasicText(
text = description, text = description,
style = typography.xs.secondary.medium, style = typography.xs.secondary.medium,
maxLines = 1 maxLines = 2
) )
} }
@@ -184,7 +184,7 @@ fun SettingsScreen() {
color = colorPalette.magenta, color = colorPalette.magenta,
icon = R.drawable.color_palette, icon = R.drawable.color_palette,
title = "Appearance", title = "Appearance",
description = "Change the colors and shapes of the app", description = "Change the colors and shapes",
route = appearanceSettingsRoute, route = appearanceSettingsRoute,
) )
@@ -208,7 +208,7 @@ fun SettingsScreen() {
color = colorPalette.orange, color = colorPalette.orange,
icon = R.drawable.save, icon = R.drawable.save,
title = "Backup & Restore", title = "Backup & Restore",
description = "Backup and restore the app database", description = "Backup and restore the database",
route = backupAndRestoreRoute route = backupAndRestoreRoute
) )