ui: fix rtl issues

Fix minor RTL issues across the app. Except for the controls. I have
zero idea how to fix that.
This commit is contained in:
OxygenCobalt
2022-06-16 11:00:17 -06:00
parent 668006724b
commit 49e3c51bb6
9 changed files with 15 additions and 3 deletions
@@ -276,7 +276,7 @@ constructor(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0) :
val widthMode = MeasureSpec.getMode(widthMeasureSpec)
val heightMode = MeasureSpec.getMode(heightMeasureSpec)
check(widthMode == MeasureSpec.EXACTLY || heightMode == MeasureSpec.EXACTLY) {
check(widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
"This view must be MATCH_PARENT"
}