1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

fix: use correct variable for uploading speed (#3560)

This commit is contained in:
Noobsai 2022-08-01 19:34:30 +05:00 committed by GitHub
parent 18e2a04f88
commit bc834b84a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,7 @@ std::string getShortTransferString(
if (bool const have_up = have_meta && st->peersGettingFromUs > 0; have_up) if (bool const have_up = have_meta && st->peersGettingFromUs > 0; have_up)
{ {
return fmt::format(_("{upload_speed} ▲"), fmt::arg("upload_speed", tr_formatter_speed_KBps(downloadSpeed_KBps))); return fmt::format(_("{upload_speed} ▲"), fmt::arg("upload_speed", tr_formatter_speed_KBps(uploadSpeed_KBps)));
} }
if (st->isStalled) if (st->isStalled)