mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-03-12 01:20:18 +01:00
make sure the video duration text has proper text color at list view
This commit is contained in:
parent
7a7813d4d6
commit
644bb362a8
@ -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…
x
Reference in New Issue
Block a user