image: fix indicator <api 22
Redo the paths and remove scientific notation from the indicator to make it work below API 22. The fact that studio does not have a built-in vector editor of any kind that properly handles the edge-cases is shameful.
This commit is contained in:
@@ -102,14 +102,6 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
||||
|
||||
override fun onAttachedToWindow() {
|
||||
super.onAttachedToWindow()
|
||||
|
||||
if (!isInEditMode) {
|
||||
val settingsManager = SettingsManager.getInstance()
|
||||
if (settingsManager.roundCovers) {
|
||||
(background as MaterialShapeDrawable).setCornerSize(cornerRadius)
|
||||
}
|
||||
}
|
||||
|
||||
invalidateIndicator()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user