Commit 4fd0140e authored by Mygod's avatar Mygod

Fix tooltip overlaying

parent 3b6cd416
...@@ -73,7 +73,7 @@ class StatsBar @JvmOverloads constructor(context: Context, attrs: AttributeSet? ...@@ -73,7 +73,7 @@ class StatsBar @JvmOverloads constructor(context: Context, attrs: AttributeSet?
private fun setStatus(text: CharSequence) { private fun setStatus(text: CharSequence) {
statusText.text = text statusText.text = text
if (Build.VERSION.SDK_INT >= 26) statusText.tooltipText = text if (Build.VERSION.SDK_INT >= 26) tooltipText = text
} }
fun changeState(state: BaseService.State) { fun changeState(state: BaseService.State) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment