Compare commits
2 commits
8d23b20439
...
8512d5432f
| Author | SHA1 | Date | |
|---|---|---|---|
| 8512d5432f | |||
| a87deaf943 |
1 changed files with 15 additions and 8 deletions
|
|
@ -122,8 +122,10 @@ LaunchedEffect(isPlay, isPos) {
|
|||
TopAppBar(
|
||||
modifier = Modifier.height(55.dp).windowInsetsPadding(WindowInsets.statusBars), title = {
|
||||
Column(
|
||||
modifier = Modifier.fillMaxSize().verticalScroll(scrollState)
|
||||
modifier = Modifier.fillMaxSize().verticalScroll(scrollState),
|
||||
verticalArrangement = Arrangement.Center
|
||||
) {
|
||||
Row {
|
||||
Text(
|
||||
songTitle,
|
||||
modifier = Modifier.weight(1f, fill = true),
|
||||
|
|
@ -132,6 +134,7 @@ LaunchedEffect(isPlay, isPos) {
|
|||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
}
|
||||
}
|
||||
}, navigationIcon = {
|
||||
IconButton(onClick = {
|
||||
scope.launch { drawerState.open() }
|
||||
|
|
@ -299,6 +302,10 @@ LaunchedEffect(isPlay, isPos) {
|
|||
sharedScreenModel.reset()
|
||||
solfaScreenModel.loadFromFile(item.path)
|
||||
isSearchActive = false
|
||||
isPlayMid = false
|
||||
isExpanded = false
|
||||
sharedScreenModel.stopMidi()
|
||||
sharedScreenModel.seekTo(0f)
|
||||
})
|
||||
HorizontalDivider()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue