SC theme: fix typing text
This commit is contained in:
parent
c843d91689
commit
be8b310d09
|
@ -742,8 +742,12 @@ class RoomDetailFragment @Inject constructor(
|
|||
if (typingMessage == null) {
|
||||
it.setTextColor(ThemeUtils.getColor(requireContext(), R.attr.vctr_toolbar_secondary_text_color))
|
||||
it.setTypeface(null, Typeface.NORMAL)
|
||||
} else {
|
||||
if (ThemeUtils.isScTheme(context)) {
|
||||
it.setTextColor(ContextCompat.getColor(requireContext(), R.color.accent_sc))
|
||||
} else {
|
||||
it.setTextColor(ContextCompat.getColor(requireContext(), R.color.riotx_accent))
|
||||
}
|
||||
it.setTypeface(null, Typeface.BOLD)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
android:layout_marginRight="8dp"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
android:textColor="@color/riotx_accent"
|
||||
android:textColor="?colorAccent"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
Loading…
Reference in New Issue