Skip to content

Commit

Permalink
Fixed #5 #6.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Sep 24, 2019
1 parent c69707f commit 43764f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class MyApp extends StatelessWidget {
),
initialRoute: '/dialpad',
routes: {
'/': (context) => DialPadWidget(_helper),
'/dialpad': (context) => DialPadWidget(_helper),
'/register': (context) => RegisterWidget(_helper),
'/callscreen': (context) => CallScreenWidget(_helper),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/callscreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class _MyCallScreenWidget extends State<CallScreenWidget> {
}

_removeEventListeners() {
helper.off('callState');
helper.remove('callState', _handleCalllState);
}

_backToDialPad() {
Expand Down

0 comments on commit 43764f2

Please sign in to comment.