MoreScreen: Add navbar padding (#8349)
This commit is contained in:
parent
8f43fb9530
commit
6bfaa85e84
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
package eu.kanade.presentation.more
|
package eu.kanade.presentation.more
|
||||||
|
|
||||||
|
import androidx.compose.foundation.layout.WindowInsets
|
||||||
|
import androidx.compose.foundation.layout.asPaddingValues
|
||||||
|
import androidx.compose.foundation.layout.navigationBars
|
||||||
import androidx.compose.foundation.layout.statusBarsPadding
|
import androidx.compose.foundation.layout.statusBarsPadding
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.outlined.CloudOff
|
import androidx.compose.material.icons.outlined.CloudOff
|
||||||
|
@ -43,7 +46,9 @@ fun MoreScreen(
|
||||||
|
|
||||||
ScrollbarLazyColumn(
|
ScrollbarLazyColumn(
|
||||||
modifier = Modifier.statusBarsPadding(),
|
modifier = Modifier.statusBarsPadding(),
|
||||||
contentPadding = TachiyomiBottomNavigationView.withBottomNavPadding(),
|
contentPadding = TachiyomiBottomNavigationView.withBottomNavPadding(
|
||||||
|
WindowInsets.navigationBars.asPaddingValues(),
|
||||||
|
),
|
||||||
) {
|
) {
|
||||||
item {
|
item {
|
||||||
LogoHeader()
|
LogoHeader()
|
||||||
|
|
Reference in a new issue