add speed column to uploads table

This commit is contained in:
Zlatin Balevsky
2019-10-27 03:00:54 +00:00
parent 817dd68faf
commit 9bd3c4f141
4 changed files with 48 additions and 4 deletions

View File

@@ -293,6 +293,10 @@ class MainFrameView {
}
String.format("%02d", percent) + "% ${totalSize} ($done/$pieces pcs)".toString()
})
closureColumn(header : "Speed", type : String, read : { row ->
int speed = row.uploader.speed()
DataHelper.formatSize2Decimal(speed, false) + "B/sec"
})
}
}
}