fixing some title issues at top bar
This commit is contained in:
parent
36d14d797a
commit
a998d01461
2 changed files with 2 additions and 2 deletions
|
@ -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("<", "<")
|
||||
albums_toolbar.title = artist.title
|
||||
|
||||
getAlbums(artist) { albums ->
|
||||
val listItems = ArrayList<ListItem>()
|
||||
|
|
|
@ -80,7 +80,7 @@ class TracksActivity : SimpleActivity() {
|
|||
|
||||
refreshMenuItems()
|
||||
val titleToUse = playlist?.title ?: album?.title ?: folder ?: ""
|
||||
tracks_toolbar.title = titleToUse.replace("<", "<")
|
||||
tracks_toolbar.title = titleToUse
|
||||
|
||||
val properPrimaryColor = getProperPrimaryColor()
|
||||
tracks_fastscroller.updateColors(properPrimaryColor)
|
||||
|
|
Loading…
Reference in a new issue