mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-21 14:49:10 +00:00
apparently people want smaller icons
This commit is contained in:
parent
efaddf6c51
commit
2fe0937ead
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ import androidx.compose.foundation.layout.RowScope
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.layout.heightIn
|
import androidx.compose.foundation.layout.heightIn
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.layout.size
|
|
||||||
import androidx.compose.material3.HorizontalDivider
|
import androidx.compose.material3.HorizontalDivider
|
||||||
import androidx.compose.material3.Icon
|
import androidx.compose.material3.Icon
|
||||||
import androidx.compose.material3.LocalContentColor
|
import androidx.compose.material3.LocalContentColor
|
||||||
|
@ -70,7 +69,7 @@ fun Preference(
|
||||||
verticalAlignment = Alignment.CenterVertically
|
verticalAlignment = Alignment.CenterVertically
|
||||||
) {
|
) {
|
||||||
if (icon != null)
|
if (icon != null)
|
||||||
IconOrImage(icon, name, 36f)
|
IconOrImage(icon, name, 32f)
|
||||||
Column(modifier = Modifier.weight(1f)) {
|
Column(modifier = Modifier.weight(1f)) {
|
||||||
Text(text = name, style = MaterialTheme.typography.bodyLarge)
|
Text(text = name, style = MaterialTheme.typography.bodyLarge)
|
||||||
if (description != null) {
|
if (description != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue