Skip to content

Commit

Permalink
perf: add horizontal padding to HorizontalDivider in ControlPage
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 23, 2024
1 parent 745cff6 commit f88bc1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/kotlin/li/songe/gkd/ui/home/ControlPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import li.songe.gkd.ui.component.AuthCard
import li.songe.gkd.ui.component.SettingItem
import li.songe.gkd.ui.component.TextSwitch
import li.songe.gkd.ui.style.EmptyHeight
import li.songe.gkd.ui.style.itemHorizontalPadding
import li.songe.gkd.ui.style.itemPadding
import li.songe.gkd.util.HOME_PAGE_URL
import li.songe.gkd.util.LocalNavController
Expand Down Expand Up @@ -169,7 +170,7 @@ fun useControlPage(): ScaffoldExt {
}
)
}
HorizontalDivider()
HorizontalDivider(modifier = Modifier.padding(horizontal = itemHorizontalPadding))
Column(
modifier = Modifier
.fillMaxWidth()
Expand Down

0 comments on commit f88bc1f

Please sign in to comment.