Skip to content

Commit

Permalink
Fix icon size in the theme settings
Browse files Browse the repository at this point in the history
  • Loading branch information
X1nto committed Jan 9, 2025
1 parent 8bd8ab3 commit a37cf0b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.GridItemSpan
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
Expand Down Expand Up @@ -104,6 +105,7 @@ fun ThemeScreen(
ThemeSetting.Light -> R.drawable.ic_sun
}
Icon(
modifier = Modifier.size(SegmentedButtonDefaults.IconSize),
painter = painterResource(drawableRes),
contentDescription = null
)
Expand Down

0 comments on commit a37cf0b

Please sign in to comment.