Commit d6d82edf authored by Viktor De Pasquale's avatar Viktor De Pasquale

Fixed file service not broadcasting indeterminate states

parent a12eb3fc
...@@ -87,6 +87,7 @@ abstract class RemoteFileService : NotificationService() { ...@@ -87,6 +87,7 @@ abstract class RemoteFileService : NotificationService() {
.setProgress(maxRaw.toInt(), it.toInt(), false) .setProgress(maxRaw.toInt(), it.toInt(), false)
.setContentText("%.2f / %.2f MB".format(progress, max)) .setContentText("%.2f / %.2f MB".format(progress, max))
} else { } else {
send(-1f, subject)
notification.setContentText("%.2f MB / ??".format(progress)) notification.setContentText("%.2f MB / ??".format(progress))
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment