Skip to content

Commit e950be3

Browse files
Fixed the support screen and added swipe action to the app manager
1 parent 9463c8a commit e950be3

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

app/src/main/kotlin/com/d4rk/cleaner/ui/appmanager/AppManagerComposable.kt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,12 @@ fun AppManagerComposable() {
8484
TabRow(
8585
selectedTabIndex = pagerState.currentPage,
8686
indicator = { tabPositions ->
87-
if (pagerState.currentPage < tabPositions.size) {
88-
TabRowDefaults.PrimaryIndicator(
89-
modifier = Modifier.tabIndicatorOffset(tabPositions[pagerState.currentPage]).fillMaxWidth(),
90-
shape = RoundedCornerShape(
91-
topStart = 3.dp, topEnd = 3.dp, bottomEnd = 0.dp, bottomStart = 0.dp
92-
),
93-
)
94-
}
87+
TabRowDefaults.PrimaryIndicator(
88+
modifier = Modifier.tabIndicatorOffset(tabPositions[pagerState.currentPage]).fillMaxWidth(),
89+
shape = RoundedCornerShape(
90+
topStart = 3.dp, topEnd = 3.dp, bottomEnd = 0.dp, bottomStart = 0.dp
91+
),
92+
)
9593
},
9694
) {
9795
tabs.forEachIndexed { index, title ->

0 commit comments

Comments
 (0)