mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
make sure the video duration text has proper text color at list view
This commit is contained in:
parent
7a7813d4d6
commit
644bb362a8
1 changed files with 1 additions and 0 deletions
|
@ -461,6 +461,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Thumbnai
|
|||
val showVideoDuration = medium.isVideo() && config.showThumbnailVideoDuration
|
||||
if (showVideoDuration) {
|
||||
video_duration.text = medium.getVideoDuration().getFormattedDuration()
|
||||
video_duration.setTextColor(textColor)
|
||||
}
|
||||
video_duration.beVisibleIf(showVideoDuration)
|
||||
|
||||
|
|
Loading…
Reference in a new issue