Skip to content

Commit

Permalink
fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
pinpong committed May 27, 2024
1 parent 1c9304a commit 90f6cd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flutter_vlc_player/lib/src/vlc_player_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ class VlcPlayerController extends ValueNotifier<VlcPlayerValue> {
final volume = await vlcPlayerPlatform.getVolume(_viewId);
value = value.copyWith(
volume: volume != null ? volume.clamp(0, _maxVolume) : null);

return volume;
}

Expand Down

0 comments on commit 90f6cd1

Please sign in to comment.