Skip to content

Commit 5ef483b

Browse files
fix: 🐛 live wave gradient not getting applied (#404)
1 parent 8a7d867 commit 5ef483b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Fixed [#389](https://github.com/SimformSolutionsPvtLtd/audio_waveforms/pull/389) - Wrong codec selection on the platform side on iOS
99
- Fixed [#325](https://github.com/SimformSolutionsPvtLtd/audio_waveforms/issues/325) - Added feature to pause all player controller at once.
1010
- Fixed [#373](https://github.com/SimformSolutionsPvtLtd/audio_waveforms/issues/373) - Getting error on dispose
11+
- Fixed [#395](https://github.com/SimformSolutionsPvtLtd/audio_waveforms/issues/395) - Live wave gradient not getting applied
1112

1213
## 1.2.0
1314

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies:
3333
cupertino_icons: ^1.0.5
3434

3535
dependency_overrides:
36-
win32: ^5.7.2
36+
win32: 5.7.2
3737

3838
dev_dependencies:
3939
flutter_test:

lib/src/painters/player_wave_painter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PlayerWavePainter extends CustomPainter {
3737
..color = playerWaveStyle.liveWaveColor
3838
..strokeWidth = playerWaveStyle.waveThickness
3939
..strokeCap = playerWaveStyle.waveCap
40-
..shader = playerWaveStyle.fixedWaveGradient,
40+
..shader = playerWaveStyle.liveWaveGradient,
4141
emptySpace = playerWaveStyle.spacing,
4242
middleLinePaint = Paint()
4343
..color = playerWaveStyle.seekLineColor

0 commit comments

Comments
 (0)