diff --git a/lib/main_view_model.dart b/lib/main_view_model.dart index 67c0274..f47aafb 100644 --- a/lib/main_view_model.dart +++ b/lib/main_view_model.dart @@ -366,6 +366,9 @@ class MainViewModel with ChangeNotifier { headers: {'platform': 'flutter'}, ); + _ongoingCall = true; + notifyListeners(); + // Hide notfication when call is accepted await FlutterCallkitIncoming.hideCallkitIncoming(callKitParams); }