From 19be0d68b6c560d0969b6c4e069f88ea380c95fd Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 11 Sep 2022 17:59:08 -0400 Subject: [PATCH] Add some padding to tab indicators --- app/src/main/java/eu/kanade/presentation/components/Tabs.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/presentation/components/Tabs.kt b/app/src/main/java/eu/kanade/presentation/components/Tabs.kt index 7ccc5d7bb0..2ba0f1301c 100644 --- a/app/src/main/java/eu/kanade/presentation/components/Tabs.kt +++ b/app/src/main/java/eu/kanade/presentation/components/Tabs.kt @@ -2,6 +2,7 @@ package eu.kanade.presentation.components import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.MaterialTheme import androidx.compose.material3.TabPosition @@ -20,6 +21,7 @@ fun TabIndicator(currentTabPosition: TabPosition) { TabRowDefaults.Indicator( Modifier .tabIndicatorOffset(currentTabPosition) + .padding(horizontal = 8.dp) .clip(RoundedCornerShape(topStart = 3.dp, topEnd = 3.dp)), ) }