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

View File

@@ -137,7 +137,7 @@ std::string getShortTransferString(
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)