fix: Bitrate text 'Mps' -> 'Mbps' (#441)

This commit is contained in:
vikingnope 2025-08-09 08:38:03 +02:00 committed by GitHub
parent 19f2b5473b
commit a94eff0dc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ enum Bitrate {
String label(BuildContext context) => switch (this) {
Bitrate.original => context.localized.qualityOptionsOriginal,
Bitrate.auto => context.localized.qualityOptionsAuto,
_ => name.toString().replaceAll('b', '').replaceAll('_', '.').toUpperCaseSplit()
_ => name.toString().replaceFirst('b', '').replaceAll('_', '.').toUpperCaseSplit()
};
}