[Android] Refactor the string separation in the whole app
Nicolas Pomepuy
git at videolan.org
Thu Feb 24 10:58:19 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jan 21 10:16:28 2022 +0100| [4513e6efba54ed981e900ae29a067fdfe44bfce5] | committer: Nicolas Pomepuy
Refactor the string separation in the whole app
> https://code.videolan.org/videolan/vlc-android/commit/4513e6efba54ed981e900ae29a067fdfe44bfce5
---
application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt b/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt
index 4df1cf98b..2c19b0468 100644
--- a/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt
+++ b/application/vlc-android/src/org/videolan/vlc/util/Kextensions.kt
@@ -177,7 +177,7 @@ fun asyncTextItem(view: TextView, item: MediaLibraryItem?) {
return
}
val text = if (item is Playlist){
- val duration =if (item.duration != 0L) Tools.millisToString(item.duration) else null
+ val duration = if (item.duration != 0L) Tools.millisToString(item.duration) else null
TextUtils.separatedString(view.context.getString(R.string.track_number, item.tracksCount), if (item.nbDurationUnknown > 0) "$duration+" else duration)
} else item.description
if (text.isNullOrEmpty()) {
More information about the Android
mailing list