mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 03:32:38 +08:00
perf: CategoryPage HorizontalDivider
This commit is contained in:
parent
17af46e1af
commit
99bb366272
|
@ -20,6 +20,7 @@ import androidx.compose.material.icons.filled.MoreVert
|
|||
import androidx.compose.material3.AlertDialog
|
||||
import androidx.compose.material3.Card
|
||||
import androidx.compose.material3.FloatingActionButton
|
||||
import androidx.compose.material3.HorizontalDivider
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.IconButton
|
||||
import androidx.compose.material3.LocalContentColor
|
||||
|
@ -165,6 +166,9 @@ fun CategoryPage(subsItemId: Long) {
|
|||
)
|
||||
}
|
||||
}
|
||||
if (categories.lastOrNull() !== category) {
|
||||
HorizontalDivider()
|
||||
}
|
||||
}
|
||||
item {
|
||||
Spacer(modifier = Modifier.height(40.dp))
|
||||
|
|
Loading…
Reference in New Issue
Block a user