From 6bfaa85e845189da9462f2f3512ab7eee26747af Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Sun, 30 Oct 2022 10:10:18 +0700 Subject: [PATCH] MoreScreen: Add navbar padding (#8349) --- .../main/java/eu/kanade/presentation/more/MoreScreen.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/more/MoreScreen.kt b/app/src/main/java/eu/kanade/presentation/more/MoreScreen.kt index 42aaf5980c..2a56c1b916 100644 --- a/app/src/main/java/eu/kanade/presentation/more/MoreScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/more/MoreScreen.kt @@ -1,5 +1,8 @@ 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.material.icons.Icons import androidx.compose.material.icons.outlined.CloudOff @@ -43,7 +46,9 @@ fun MoreScreen( ScrollbarLazyColumn( modifier = Modifier.statusBarsPadding(), - contentPadding = TachiyomiBottomNavigationView.withBottomNavPadding(), + contentPadding = TachiyomiBottomNavigationView.withBottomNavPadding( + WindowInsets.navigationBars.asPaddingValues(), + ), ) { item { LogoHeader()