🚀 Marque for chapter title in Reader
* Disabled marque for book title and enabled for chapter title
This commit is contained in:
parent
87b182709f
commit
2c8954b9fb
1 changed files with 2 additions and 1 deletions
|
|
@ -106,10 +106,11 @@ fun ReaderTopBar(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.basicMarquee(iterations = Int.MAX_VALUE))
|
)
|
||||||
},
|
},
|
||||||
subtitle = {
|
subtitle = {
|
||||||
Text(
|
Text(
|
||||||
|
modifier = Modifier.basicMarquee(iterations = Int.MAX_VALUE),
|
||||||
text = currentChapter?.title
|
text = currentChapter?.title
|
||||||
?: activity.getString(R.string.no_chapters),
|
?: activity.getString(R.string.no_chapters),
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue