indeterminate progress bar OH uploader
This commit is contained in:
parent
e6f8da32cc
commit
354e77e733
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class OHUploadWorker(context: Context, workerParameters: WorkerParameters)
|
||||||
.setContentText(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)
|
||||||
|
.setProgress(0, 0 , true)
|
||||||
.build()
|
.build()
|
||||||
return ForegroundInfo(UPLOAD_NOTIFICATION_ID, notification)
|
return ForegroundInfo(UPLOAD_NOTIFICATION_ID, notification)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue