From 66730c37c5070714aa563713d46ec686cab72ab5 Mon Sep 17 00:00:00 2001 From: Vatsal Tanna Date: Sun, 8 Dec 2024 21:30:13 +0530 Subject: [PATCH] fix: :arrow_up: Upgrade version of audio wave forms 1.2.0 --- CHANGELOG.md | 5 +++++ lib/src/widgets/voice_message_view.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21a9d081..aa48a255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [2.3.1] + +* **Fix**: [282](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/282) Upgrade + version of audio wave forms 1.2.0 + ## [2.3.0] * **Breaking**: [257](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/issues/257) update diff --git a/lib/src/widgets/voice_message_view.dart b/lib/src/widgets/voice_message_view.dart index 40466e3c..cfeeb044 100644 --- a/lib/src/widgets/voice_message_view.dart +++ b/lib/src/widgets/voice_message_view.dart @@ -157,7 +157,7 @@ class _VoiceMessageViewState extends State { if (playerState.isInitialised || playerState.isPaused || playerState.isStopped) { - controller.startPlayer(finishMode: FinishMode.pause); + controller.startPlayer(); } else { controller.pausePlayer(); } diff --git a/pubspec.yaml b/pubspec.yaml index 92f417b5..8d0ff976 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: emoji_picker_flutter: ^3.0.0 any_link_preview: ^3.0.2 image_picker: '>=0.8.9 <2.0.0' - audio_waveforms: ^1.0.5 + audio_waveforms: 1.2.0 # For formatting time locale in message receipts timeago: ^3.7.0 cached_network_image: ^3.4.1