fix: cell-renderer up/down ui layout order (#2970)

This commit is contained in:
Charles Kerr
2022-04-22 22:41:30 -05:00
committed by GitHub
parent 0a3018d706
commit 4f70baa27e
2 changed files with 2 additions and 2 deletions

View File

@@ -588,7 +588,7 @@ void MainWindow::Impl::updateStats()
if (auto const pch = gtr_pref_string_get(TR_KEY_statusbar_stats); pch == "session-ratio")
{
tr_sessionGetStats(session, &stats);
buf = fmt::format(_("Ratio: {ratio}"), tr_strlratio(stats.ratio));
buf = fmt::format(_("Ratio: {ratio}"), fmt::arg("ratio", tr_strlratio(stats.ratio)));
}
else if (pch == "session-transfer")
{