Change thread list filtering radio buttons color

This commit is contained in:
ariskotsomitopoulos 2022-03-23 13:40:32 +02:00
parent d232c49d65
commit 82a6ea9d85

View File

@ -61,11 +61,11 @@ class ThreadListBottomSheet : VectorBaseBottomSheetDialogFragment<BottomSheetThr
val radioOnDrawable = ContextCompat.getDrawable(requireContext(), R.drawable.ic_radio_on)
if (state.shouldFilterThreads) {
setRightIconDrawableAllThreads(radioOffDrawable, R.attr.vctr_content_primary)
setRightIconDrawableAllThreads(radioOffDrawable, R.attr.vctr_content_secondary)
setRightIconDrawableMyThreads(radioOnDrawable, R.attr.colorPrimary)
} else {
setRightIconDrawableAllThreads(radioOnDrawable, R.attr.colorPrimary)
setRightIconDrawableMyThreads(radioOffDrawable, R.attr.vctr_content_primary)
setRightIconDrawableMyThreads(radioOffDrawable, R.attr.vctr_content_secondary)
}
}