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:
OxygenCobalt
2022-06-10 15:45:00 -06:00
parent d80c49f11f
commit d42f5970f1
2 changed files with 32 additions and 39 deletions
@@ -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()
}