chat voice message implementation

merge-requests/116/head
Aamir Muhammad 3 years ago
parent 091abc68bf
commit 97dd82aff7

@ -1301,7 +1301,7 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
} }
void stopPlaying(BuildContext context, {required SingleUserChatModel data}) async { void stopPlaying(BuildContext context, {required SingleUserChatModel data}) async {
data.voiceController!.stopPlayer(); await data.voiceController!.pausePlayer();
notifyListeners(); notifyListeners();
} }

Loading…
Cancel
Save