mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-30 10:54:58 +01:00
Change thread list filtering radio buttons color
This commit is contained in:
parent
d232c49d65
commit
82a6ea9d85
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user