correct text on worker foreground
This commit is contained in:
parent
f24e69dfc8
commit
e6f8da32cc
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class OHUploadWorker(context: Context, workerParameters: WorkerParameters)
|
||||||
val notification: Notification = NotificationCompat.Builder(applicationContext, NOTIFICATION_CHANNEL)
|
val notification: Notification = NotificationCompat.Builder(applicationContext, NOTIFICATION_CHANNEL)
|
||||||
.setContentTitle(title)
|
.setContentTitle(title)
|
||||||
.setTicker(title)
|
.setTicker(title)
|
||||||
.setSubText(resourceHelper.gs(info.nightscout.androidaps.R.string.your_phone_is_upload_data))
|
.setContentText(resourceHelper.gs(info.nightscout.androidaps.R.string.your_phone_is_upload_data))
|
||||||
.setSmallIcon(info.nightscout.androidaps.R.drawable.notif_icon)
|
.setSmallIcon(info.nightscout.androidaps.R.drawable.notif_icon)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.build()
|
.build()
|
||||||
|
|
Loading…
Reference in a new issue