mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
test the tab row reflows in a single direction during a switch
Drives the pager across the Artists to Playlists transition and asserts the Songs icon only moves one way. Fails on the min-width clamp version (738-727-745) and passes on the natural-48dp version. LibraryTabs is internal so the test can drive its PagerState.
This commit is contained in:
@@ -660,7 +660,7 @@ private fun SearchField(
|
||||
|
||||
@OptIn(ExperimentalMaterial3Api::class)
|
||||
@Composable
|
||||
private fun LibraryTabs(
|
||||
internal fun LibraryTabs(
|
||||
pagerState: PagerState,
|
||||
onTabSelected: (LibraryTab) -> Unit,
|
||||
onOpenSettings: () -> Unit,
|
||||
|
||||
Reference in New Issue
Block a user