fixing some thumbnail coloring issues

This commit is contained in:
tibbi 2020-11-10 10:07:44 +01:00
parent 9c84ba05ee
commit 3e134c4e37
2 changed files with 9 additions and 3 deletions

View file

@ -740,10 +740,14 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
dir_name.text = nameCount
if (isListViewType) {
dir_name.setTextColor(textColor)
dir_path.setTextColor(textColor)
if (isListViewType || folderStyle == FOLDER_STYLE_ROUNDED_CORNERS) {
photo_cnt.setTextColor(textColor)
dir_name.setTextColor(textColor)
dir_location.applyColorFilter(textColor)
}
if (isListViewType) {
dir_path.setTextColor(textColor)
dir_pin.applyColorFilter(textColor)
dir_location.applyColorFilter(textColor)
}

View file

@ -106,6 +106,8 @@ class ChangeThumbnailStyleDialog(val activity: BaseSimpleActivity, val callback:
if (useRoundedCornersLayout) {
val cornerRadius = resources.getDimension(R.dimen.rounded_corner_radius_big).toInt()
builder = builder.transform(CenterCrop(), RoundedCorners(cornerRadius))
dir_name.setTextColor(activity.config.textColor)
photo_cnt.setTextColor(activity.config.textColor)
}
builder.into(dir_thumbnail)