Skip to content

Commit

Permalink
rename 1.0 speed option to 'Normal'
Browse files Browse the repository at this point in the history
  • Loading branch information
kunstmusik committed Sep 25, 2023
1 parent edadd4e commit a46b135
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1302,6 +1302,10 @@
"@noOneWillSee": {
"description": "Indicates that private content won't reach to the wrong hands"
},
"normal": "Normal",
"@normal": {
"description": "Menu entry for \"Normal\" speed playback on Audio and Video previews."
},
"noSubscriptions": "No subscriptions are needed!",
"@noSubscriptions": {
"description": "Payment philosophy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,11 @@ class _AudioPlayerWidgetState extends State<AudioPlayerWidget>
});
},
title: Text(
'$v',
v == 1.0
? appLocalizationsOf(
context)
.normal
: '$v',
style: ArDriveTypography
.body
.buttonNormalBold(
Expand Down Expand Up @@ -789,7 +793,8 @@ void _displaySpeedOptionsModal(
setPlaybackSpeed(speed);
Navigator.of(context).pop();
},
title: Text('$speed'),
title: Text(
speed == 1.0 ? appLocalizationsOf(context).normal : '$speed'),
);
},
),
Expand Down

0 comments on commit a46b135

Please sign in to comment.