mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Garmin: Fix unknown transfer notification
This commit is contained in:
+2
@@ -109,8 +109,10 @@ class GBProgressNotification(
|
||||
fun incrementTotalSize(inc: Long) {
|
||||
LOG.debug("incrementTotalSize id={}: {}+={}", notificationId, totalSize, inc)
|
||||
this.totalSize += inc
|
||||
if (visible) {
|
||||
refresh(false)
|
||||
}
|
||||
}
|
||||
|
||||
fun setProgress(chunkProgress: Long, totalProgress: Long) {
|
||||
LOG.debug("setProgress id={}: {} {}", notificationId, chunkProgress, totalProgress)
|
||||
|
||||
Reference in New Issue
Block a user