From 3d703421e24f7494138899a4365138f3930af612 Mon Sep 17 00:00:00 2001 From: Ruliam dos Santos de Oliveira Date: Tue, 20 Aug 2024 09:46:41 -0300 Subject: [PATCH] feat: Adding bottom padding to Page Indicator to avoid phone's frame hide it --- .../java/eu/kanade/presentation/reader/PageIndicatorText.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/presentation/reader/PageIndicatorText.kt b/app/src/main/java/eu/kanade/presentation/reader/PageIndicatorText.kt index 3dd057a56..bb5e190a5 100644 --- a/app/src/main/java/eu/kanade/presentation/reader/PageIndicatorText.kt +++ b/app/src/main/java/eu/kanade/presentation/reader/PageIndicatorText.kt @@ -1,16 +1,19 @@ package eu.kanade.presentation.reader import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.padding import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.drawscope.Stroke import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.tooling.preview.PreviewLightDark +import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import eu.kanade.presentation.theme.TachiyomiPreviewTheme @@ -35,6 +38,7 @@ fun PageIndicatorText( ) Box( + modifier = Modifier.padding(bottom = 12.dp), contentAlignment = Alignment.Center, ) { Text(