Skip to content

Commit

Permalink
set ongoing call to true and notify listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Zimmerman committed Dec 18, 2024
1 parent 82065b1 commit fe9b4a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ class MainViewModel with ChangeNotifier {
headers: <String, dynamic>{'platform': 'flutter'},
);

_ongoingCall = true;
notifyListeners();

// Hide notfication when call is accepted
await FlutterCallkitIncoming.hideCallkitIncoming(callKitParams);
}
Expand Down

0 comments on commit fe9b4a5

Please sign in to comment.