Skip to content

Commit

Permalink
Fix start padding on settings home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarIlic committed Oct 9, 2024
1 parent 3fdee18 commit 6e88724
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,12 @@ private fun SettingsListItem(
colors = ListItemDefaults.colors(
containerColor = AppTheme.colorScheme.surfaceVariant,
),
leadingContent = {
if (leadingIcon != null) {
leadingContent = if (leadingIcon != null) {
{
Icon(imageVector = leadingIcon, contentDescription = null)
}
} else {
null
},
headlineContent = {
Text(
Expand Down Expand Up @@ -144,7 +146,6 @@ private fun VersionListItem(versionName: String) {
style = AppTheme.typography.titleLarge,
)
},
leadingContent = { },
)
}

Expand Down

0 comments on commit 6e88724

Please sign in to comment.