mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
BaseMarker.kt: removed unneeded cast
This commit is contained in:
parent
c7065e103b
commit
e85d59e52a
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class BaseMarker {
|
|||
val drawable: Drawable = context.resources.getDrawable(drawableResId)
|
||||
icon =
|
||||
if (drawable is BitmapDrawable) {
|
||||
(drawable as BitmapDrawable).bitmap
|
||||
drawable.bitmap
|
||||
} else {
|
||||
val bitmap =
|
||||
Bitmap.createBitmap(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue