1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2025-01-19 06:17:00 -06:00

Fix text in lucky number widget (#1825)

This commit is contained in:
Rafał Borcz 2022-04-06 08:01:11 +02:00 committed by GitHub
parent d473d53879
commit 679cf2554d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ class LuckyNumberWidgetProvider : AppWidgetProvider() {
.apply { .apply {
setTextViewText( setTextViewText(
R.id.luckyNumberWidgetNumber, R.id.luckyNumberWidgetNumber,
luckyNumber.dataOrNull?.toString() ?: "#" luckyNumber.dataOrNull?.luckyNumber?.toString() ?: "#"
) )
setOnClickPendingIntent(R.id.luckyNumberWidgetContainer, appIntent) setOnClickPendingIntent(R.id.luckyNumberWidgetContainer, appIntent)
} }