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(
|
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),
|
||||||
|
|
@ -132,6 +134,7 @@ LaunchedEffect(isPlay, isPos) {
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}, navigationIcon = {
|
}, navigationIcon = {
|
||||||
IconButton(onClick = {
|
IconButton(onClick = {
|
||||||
scope.launch { drawerState.open() }
|
scope.launch { drawerState.open() }
|
||||||
|
|
@ -299,6 +302,10 @@ 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()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue