correct text on worker foreground

This commit is contained in:
Geoffrey Hansen 2020-09-04 21:14:38 +02:00
parent f24e69dfc8
commit e6f8da32cc

View file

@ -56,7 +56,7 @@ class OHUploadWorker(context: Context, workerParameters: WorkerParameters)
val notification: Notification = NotificationCompat.Builder(applicationContext, NOTIFICATION_CHANNEL)
.setContentTitle(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)
.setOngoing(true)
.build()