mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-03-01 01:47:41 +01:00
Fix stray ">" in songs list.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
e76764bb86
commit
b6c14c7541
@ -21,6 +21,7 @@ package org.moire.ultrasonic.view;
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.AnimationDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
@ -168,7 +169,10 @@ public class SongView extends UpdateView implements Checkable
|
||||
String suffix = song.getSuffix();
|
||||
String transcodedSuffix = song.getTranscodedSuffix();
|
||||
|
||||
fileFormat = transcodedSuffix == null || transcodedSuffix.equals(suffix) || (song.isVideo() && Util.getVideoPlayerType(this.context) != VideoPlayerType.FLASH) ? suffix : String.format("%s > %s", suffix, transcodedSuffix);
|
||||
fileFormat = TextUtils.isEmpty(transcodedSuffix) ||
|
||||
transcodedSuffix.equals(suffix) ||
|
||||
(song.isVideo() && Util.getVideoPlayerType(this.context) != VideoPlayerType.FLASH) ?
|
||||
suffix : String.format("%s > %s", suffix, transcodedSuffix);
|
||||
|
||||
String artistName = song.getArtist();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user