Skip to content

Commit

Permalink
Fixed crash in split tunneling
Browse files Browse the repository at this point in the history
  • Loading branch information
oxtoacart committed Oct 19, 2023
1 parent 7cfe581 commit f4c4791
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/account/split_tunneling.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class _SplitTunnelingState extends State<SplitTunneling> {

void init() async {
unawaited(sessionModel.refreshAppsList());
await sessionModel.trackUserAction('Split tunneling screen shown to user');
var _vpnConnected = await vpnModel.isVpnConnected();
setState(() {
vpnConnected = _vpnConnected;
Expand Down
8 changes: 0 additions & 8 deletions lib/common/session_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,6 @@ class SessionModel extends Model {
);
}

Future<void> trackUserAction(
String message,
) async {
return methodChannel.invokeMethod('trackUserAction', <String, dynamic>{
'message': message,
});
}

Future<void> redeemResellerCode(
String email,
String resellerCode,
Expand Down

0 comments on commit f4c4791

Please sign in to comment.