Skip to content
Snippets Groups Projects
Commit 98bff5a2 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Use the right separator in the album header

parent e98cf49a
No related branches found
No related tags found
1 merge request!1337Album view rework based on #2170
......@@ -25,7 +25,6 @@ package org.videolan.vlc.gui.audio
import android.annotation.TargetApi
import android.os.Build
import android.util.Log
import android.view.LayoutInflater
import android.view.MotionEvent
import android.view.View
......@@ -43,6 +42,7 @@ import org.videolan.vlc.BR
import org.videolan.vlc.databinding.AudioAlbumTrackItemBinding
import org.videolan.vlc.interfaces.IEventsHandler
import org.videolan.vlc.interfaces.IListEventsHandler
import org.videolan.vlc.util.TextUtils
@ObsoleteCoroutinesApi
@ExperimentalCoroutinesApi
......@@ -106,7 +106,7 @@ class AudioAlbumTracksAdapter @JvmOverloads constructor(
binding.trackNumber.visibility = View.GONE
var subtitle = Tools.millisToString(item.length)
if (item.artist.isNotEmpty())
subtitle += " . ${item.artist}"
subtitle += " ${TextUtils.separator} ${item.artist}"
binding.subtitle.text = subtitle
}
......
......@@ -32,7 +32,7 @@ object TextUtils {
/**
* Common string separator used in the whole app
*/
private const val separator = '·'
const val separator = '·'
/**
* Create a string separated by the common [separator]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment