mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
use a different sponsorblock color
This commit is contained in:
parent
f9787b4fe2
commit
7f1e0147c1
@ -44,12 +44,12 @@ class MarkableTimeBar(
|
|||||||
canvas.drawRect(
|
canvas.drawRect(
|
||||||
Rect(
|
Rect(
|
||||||
(it.segment.first() + HORIZONTAL_OFFSET).toLength(),
|
(it.segment.first() + HORIZONTAL_OFFSET).toLength(),
|
||||||
marginY,
|
marginY - 1,
|
||||||
(it.segment.last() + HORIZONTAL_OFFSET).toLength(),
|
(it.segment.last() + HORIZONTAL_OFFSET).toLength(),
|
||||||
canvas.height - marginY
|
canvas.height - marginY
|
||||||
),
|
),
|
||||||
Paint().apply {
|
Paint().apply {
|
||||||
color = ThemeHelper.getThemeColor(context, R.attr.colorError)
|
color = ThemeHelper.getThemeColor(context, R.attr.colorOnSecondary)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user