fixing some title issues at top bar

This commit is contained in:
tibbi 2022-07-09 18:37:40 +02:00
parent 36d14d797a
commit a998d01461
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ class AlbumsActivity : SimpleActivity() {
val artistType = object : TypeToken<Artist>() {}.type
val artist = Gson().fromJson<Artist>(intent.getStringExtra(ARTIST), artistType)
title = artist.title.replace("<", "&lt;")
albums_toolbar.title = artist.title
getAlbums(artist) { albums ->
val listItems = ArrayList<ListItem>()

View file

@ -80,7 +80,7 @@ class TracksActivity : SimpleActivity() {
refreshMenuItems()
val titleToUse = playlist?.title ?: album?.title ?: folder ?: ""
tracks_toolbar.title = titleToUse.replace("<", "&lt;")
tracks_toolbar.title = titleToUse
val properPrimaryColor = getProperPrimaryColor()
tracks_fastscroller.updateColors(properPrimaryColor)