replace the hardcoded tab titles with proper strings

This commit is contained in:
tibbi 2020-10-17 16:50:52 +02:00
parent 136cade8ed
commit 7c28d48b3e

View file

@ -230,7 +230,7 @@ class MainActivity : SimpleActivity(), MainActivityInterface {
}
)
val tabLabels = arrayOf("ARTISTS", "PLAYLISTS")
val tabLabels = arrayOf(getString(R.string.artists), getString(R.string.playlists))
main_tabs_holder.apply {
setTabTextColors(config.backgroundColor.getContrastColor(), getAdjustedPrimaryColor())
setSelectedTabIndicatorColor(getAdjustedPrimaryColor())