Skip to content

Commit

Permalink
Merge pull request #1381 from ardriveapp/PE-4661-missing-normal-playb…
Browse files Browse the repository at this point in the history
…ack-option

PE-4661: rename 1.0 speed option to 'Normal'
  • Loading branch information
kunstmusik authored Sep 25, 2023
2 parents edadd4e + a46b135 commit b481830
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 b481830

Please sign in to comment.