Skip to content

Commit

Permalink
pop the mic dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmohsin7 committed Sep 12, 2024
1 parent 16b31b6 commit b693a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/pages/memories/widgets/processing_capture.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ class _MemoryCaptureWidgetState extends State<MemoryCaptureWidget> {
context,
() => Navigator.pop(context),
() async {
Navigator.pop(context);
provider.updateRecordingState(RecordingState.initialising);
context.read<WebSocketProvider>().closeWebSocketWithoutReconnect('Recording with phone mic');
await provider.initiateWebsocket(BleAudioCodec.pcm16, 16000);
await provider.streamRecording();
Navigator.pop(context);
},
'Limited Capabilities',
'Recording with your phone microphone has a few limitations, including but not limited to: speaker profiles, background reliability.',
Expand Down

0 comments on commit b693a46

Please sign in to comment.