make sure the video duration text has proper text color at list view

This commit is contained in:
tibbi 2018-11-19 20:55:44 +01:00
parent 7a7813d4d6
commit 644bb362a8

View file

@ -461,6 +461,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Thumbnai
val showVideoDuration = medium.isVideo() && config.showThumbnailVideoDuration val showVideoDuration = medium.isVideo() && config.showThumbnailVideoDuration
if (showVideoDuration) { if (showVideoDuration) {
video_duration.text = medium.getVideoDuration().getFormattedDuration() video_duration.text = medium.getVideoDuration().getFormattedDuration()
video_duration.setTextColor(textColor)
} }
video_duration.beVisibleIf(showVideoDuration) video_duration.beVisibleIf(showVideoDuration)