Skip to content

Commit

Permalink
Merge pull request #2 from leancodepl/fix/ios-speed-setting
Browse files Browse the repository at this point in the history
Remove redundant parenthesis
  • Loading branch information
mkucharski17 authored Jul 8, 2024
2 parents 7f4370f + a00f842 commit 170d59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/BetterPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ - (void)setSpeed:(double)speed result:(FlutterResult)result {
message:@"Speed must be >= 0.0 and <= 2.0"
details:nil]);
// Fix from: https://github.com/jhomlala/betterplayer/issues/574#issuecomment-879657453
} else if ((speed > 1.0) || (speed < 1.0))) {
} else if ((speed > 1.0) || (speed < 1.0)) {
_playerRate = speed;
result(nil);
} else {
Expand Down

0 comments on commit 170d59a

Please sign in to comment.