fix: correct progress display (remove duplicate /s, handle HLS reset)
All checks were successful
CI / build (push) Successful in 47s
All checks were successful
CI / build (push) Successful in 47s
This commit is contained in:
@@ -69,7 +69,7 @@ func languageKeyboard(languages []string) models.InlineKeyboardMarkup {
|
||||
func progressKeyboard(pct float64, speed, eta string) models.InlineKeyboardMarkup {
|
||||
progressText := fmt.Sprintf("%.1f%%", pct)
|
||||
if speed != "" {
|
||||
progressText += fmt.Sprintf(" | %s/s", speed)
|
||||
progressText += fmt.Sprintf(" | %s", speed)
|
||||
}
|
||||
if eta != "" {
|
||||
progressText += fmt.Sprintf(" | ETA %s", eta)
|
||||
|
||||
Reference in New Issue
Block a user