We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f55e43b commit cf2d48dCopy full SHA for cf2d48d
1 file changed
app/src/main/java/de/pawcode/cardstore/data/utils/ShortcutUpdater.kt
@@ -93,5 +93,5 @@ internal fun createShortcutIcon(card: CardEntity): IconCompat {
93
val textY = 54f - (textPaint.descent() + textPaint.ascent()) / 2f
94
canvas.drawText(firstLetter, 54f, textY, textPaint)
95
96
- return IconCompat.createWithAdaptiveBitmap(bitmap).also { bitmap.recycle() }
+ return IconCompat.createWithAdaptiveBitmap(bitmap)
97
}
0 commit comments