Skip to content

Commit fb2be0e

Browse files
committed
feat: update example active call states
1 parent 405d0f2 commit fb2be0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/lib/screens/widgets/call_features.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ class _CallControlsState extends State<CallControls> {
7575
case CallEvent.incoming:
7676
case CallEvent.ringing:
7777
case CallEvent.connected:
78+
case CallEvent.answer:
79+
case CallEvent.reconnecting:
80+
case CallEvent.reconnected:
7881
activeCall = true;
7982
_updateStates();
8083
break;
@@ -85,11 +88,8 @@ class _CallControlsState extends State<CallControls> {
8588
_updateStates();
8689
break;
8790

88-
case CallEvent.answer:
8991
case CallEvent.missedCall:
9092
case CallEvent.returningCall:
91-
case CallEvent.reconnecting:
92-
case CallEvent.reconnected:
9393
_updateStates();
9494
break;
9595

0 commit comments

Comments
 (0)