Compare commits

..

No commits in common. "8512d5432fec08b05aa742759c74683306a7dcaf" and "8d23b204398f5e6b6ac552f30ddfbe2190fe8308" have entirely different histories.

View file

@ -122,10 +122,8 @@ LaunchedEffect(isPlay, isPos) {
TopAppBar( TopAppBar(
modifier = Modifier.height(55.dp).windowInsetsPadding(WindowInsets.statusBars), title = { modifier = Modifier.height(55.dp).windowInsetsPadding(WindowInsets.statusBars), title = {
Column( Column(
modifier = Modifier.fillMaxSize().verticalScroll(scrollState), modifier = Modifier.fillMaxSize().verticalScroll(scrollState)
verticalArrangement = Arrangement.Center
) { ) {
Row {
Text( Text(
songTitle, songTitle,
modifier = Modifier.weight(1f, fill = true), modifier = Modifier.weight(1f, fill = true),
@ -134,7 +132,6 @@ LaunchedEffect(isPlay, isPos) {
overflow = TextOverflow.Ellipsis, overflow = TextOverflow.Ellipsis,
) )
} }
}
}, navigationIcon = { }, navigationIcon = {
IconButton(onClick = { IconButton(onClick = {
scope.launch { drawerState.open() } scope.launch { drawerState.open() }
@ -302,10 +299,6 @@ LaunchedEffect(isPlay, isPos) {
sharedScreenModel.reset() sharedScreenModel.reset()
solfaScreenModel.loadFromFile(item.path) solfaScreenModel.loadFromFile(item.path)
isSearchActive = false isSearchActive = false
isPlayMid = false
isExpanded = false
sharedScreenModel.stopMidi()
sharedScreenModel.seekTo(0f)
}) })
HorizontalDivider() HorizontalDivider()
} }