diff --git a/lib/viewmodel/stream_vm.dart b/lib/viewmodel/stream_vm.dart index 3c215a9..7e8e2f4 100644 --- a/lib/viewmodel/stream_vm.dart +++ b/lib/viewmodel/stream_vm.dart @@ -101,7 +101,7 @@ class StreamViewModel with ChangeNotifier { } void getRecFn() { - if (smodel.isInitiated) { + if (!smodel.isInitiated) { return; } if (smodel.recorder!.isRecording) {