Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrto21 committed Sep 14, 2021
1 parent 500c54e commit fb3d1da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/messageport/lib/src/messageport_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class TizenMessagePortManager {
args['remoteAppId'] = remoteAppId;
args['portName'] = portName;
args['trusted'] = trusted;
final bool? status =
await _channel.invokeMethod<bool>('checkForRemote', args);
return status ?? false;
final bool status =
await _channel.invokeMethod<bool>('checkForRemote', args) as bool;
return status;
}

Future<void> send(RemotePort remotePort, dynamic message) async {
Expand Down

0 comments on commit fb3d1da

Please sign in to comment.