Fix toolbar having bottom padding in portrait (#7601)

This commit is contained in:
Andreas
2022-07-24 15:56:03 +02:00
committed by GitHub
parent 2e15be59af
commit 6f94777530
4 changed files with 6 additions and 13 deletions
@@ -1,7 +1,9 @@
package eu.kanade.presentation.library
import androidx.compose.foundation.layout.safeDrawingPadding
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.Modifier
import eu.kanade.domain.category.model.Category
import eu.kanade.presentation.components.LibraryBottomActionMenu
import eu.kanade.presentation.components.Scaffold
@@ -27,6 +29,7 @@ fun LibraryScreen(
onClickRefresh: (Category?) -> Unit,
) {
Scaffold(
modifier = Modifier.safeDrawingPadding(),
topBar = {
val title by presenter.getToolbarTitle()
LibraryToolbar(