Skip to content

Commit

Permalink
Fixed the support screen and added swipe action to the app manager
Browse files Browse the repository at this point in the history
  • Loading branch information
D4rK7355608 committed Jul 10, 2024
1 parent 9463c8a commit e950be3
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,12 @@ fun AppManagerComposable() {
TabRow(
selectedTabIndex = pagerState.currentPage,
indicator = { tabPositions ->
if (pagerState.currentPage < tabPositions.size) {
TabRowDefaults.PrimaryIndicator(
modifier = Modifier.tabIndicatorOffset(tabPositions[pagerState.currentPage]).fillMaxWidth(),
shape = RoundedCornerShape(
topStart = 3.dp, topEnd = 3.dp, bottomEnd = 0.dp, bottomStart = 0.dp
),
)
}
TabRowDefaults.PrimaryIndicator(
modifier = Modifier.tabIndicatorOffset(tabPositions[pagerState.currentPage]).fillMaxWidth(),
shape = RoundedCornerShape(
topStart = 3.dp, topEnd = 3.dp, bottomEnd = 0.dp, bottomStart = 0.dp
),
)
},
) {
tabs.forEachIndexed { index, title ->
Expand Down

0 comments on commit e950be3

Please sign in to comment.