Skip to content

Commit

Permalink
fix: sources screen being misaligned during transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Axelen123 committed Jun 29, 2023
1 parent 0dccb8c commit 149c8cc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package app.revanced.manager.ui.screen

import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.rememberPagerState
Expand Down Expand Up @@ -86,6 +87,7 @@ fun DashboardScreen(
pageCount = pages.size,
state = pagerState,
userScrollEnabled = true,
modifier = Modifier.fillMaxSize(),
pageContent = { index ->
when (pages[index]) {
DashboardPage.DASHBOARD -> {
Expand Down

0 comments on commit 149c8cc

Please sign in to comment.