Merge branch 'devel' of github.com:KotatsuApp/Kotatsu into devel

pull/216/head
Koitharu 4 years ago
commit 78dd0588ce
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -56,8 +56,9 @@ class ReaderInfoBarView @JvmOverloads constructor(
init {
paint.strokeWidth = context.resources.resolveDp(2f)
val insetStart = getSystemUiDimensionOffset("status_bar_padding_start")
val insetEnd = getSystemUiDimensionOffset("status_bar_padding_end")
val insetCorner = getSystemUiDimensionOffset("rounded_corner_content_padding")
val insetStart = getSystemUiDimensionOffset("status_bar_padding_start") + insetCorner
val insetEnd = getSystemUiDimensionOffset("status_bar_padding_end") + insetCorner
val isRtl = layoutDirection == LAYOUT_DIRECTION_RTL
insetLeft = if (isRtl) insetEnd else insetStart
insetRight = if (isRtl) insetStart else insetEnd

Loading…
Cancel
Save