From 9168d02fdb9c477a69e84fee97fe6385486269bf 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 --- lib/src/widgets/voice_message_view.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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