Skip to content

Commit 61893bd

Browse files
committed
fixup: ts error
1 parent 67e46ae commit 61893bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gui/src/shared/notifications/error.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,15 @@ function getMessage(errorState: ErrorState): string {
184184
);
185185
case ErrorStateCause.splitTunnelError:
186186
switch (process.platform ?? window.env.platform) {
187-
case 'win32':
187+
case 'darwin':
188188
return messages.pgettext(
189189
'notifications',
190-
'Unable to communicate with Mullvad kernel driver. Try reconnecting or send a problem report.',
190+
'Failed to enable split tunneling. Please try again or disable it.',
191191
);
192-
case 'darwin':
192+
default:
193193
return messages.pgettext(
194194
'notifications',
195-
'Failed to enable split tunneling. Please try again or disable it.',
195+
'Unable to communicate with Mullvad kernel driver. Try reconnecting or send a problem report.',
196196
);
197197
}
198198
}

0 commit comments

Comments
 (0)