pref: Pad 首页侧栏图标大小
This commit is contained in:
parent
a24d22e3f3
commit
131376f183
|
|
@ -195,7 +195,7 @@ fun NavigationDrawerContent(
|
|||
.verticalScroll(rememberScrollState()),
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
) {
|
||||
navigationItems.forEachIndexed { index, navigationItem ->
|
||||
navigationItems.fastForEachIndexed { index, navigationItem ->
|
||||
NavigationDrawerItem(
|
||||
selected = index == currentPosition,
|
||||
onClick = {
|
||||
|
|
@ -214,7 +214,7 @@ fun NavigationDrawerContent(
|
|||
atEnd = index == currentPosition
|
||||
),
|
||||
contentDescription = navigationItem.title(index == currentPosition),
|
||||
modifier = Modifier.size(16.dp),
|
||||
modifier = Modifier.size(24.dp),
|
||||
)
|
||||
if (navigationItem.badge) {
|
||||
Text(
|
||||
|
|
|
|||
Loading…
Reference in New Issue