Skip to content

Commit

Permalink
恢复展示速度单位 Fix #544
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda authored Dec 3, 2024
1 parent e350ab7 commit 87914a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/N_m3u8DL-RE/Column/DownloadSpeedColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ public override IRenderable Render(RenderOptions options, ProgressTask task, Tim
}
DateTimeStringDic[taskId] = now;
var style = flag ? Style.Plain : MyStyle;
return flag ? new Text("-", style).Centered() : new Text(GlobalUtil.FormatFileSize(speedContainer.NowSpeed) + (speedContainer.LowSpeedCount > 0 ? $"({speedContainer.LowSpeedCount})" : ""), style).Centered();
return flag ? new Text("-", style).Centered() : new Text(GlobalUtil.FormatFileSize(speedContainer.NowSpeed) + "ps" + (speedContainer.LowSpeedCount > 0 ? $"({speedContainer.LowSpeedCount})" : ""), style).Centered();
}
}
}

0 comments on commit 87914a3

Please sign in to comment.