diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-09-06 14:39:28 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-09-06 14:39:28 +0200 |
| commit | 29d599b9a54c20cbb8a9aeca75c1bef440d762eb (patch) | |
| tree | ca54c69232cefcbc33c50a6babe6c2aa0692e7a8 /gui/src/shared | |
| parent | 4ba1552c25a84dcf4a7abb4ee109804b2722e3ec (diff) | |
| parent | 8659a3ec949485399155fb9bde4ceed7c79b6dd9 (diff) | |
| download | mullvadvpn-29d599b9a54c20cbb8a9aeca75c1bef440d762eb.tar.xz mullvadvpn-29d599b9a54c20cbb8a9aeca75c1bef440d762eb.zip | |
Merge branch 'fix-disconnecting-info'
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/ipc-schema.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts index 93f6b66b92..a20213f424 100644 --- a/gui/src/shared/ipc-schema.ts +++ b/gui/src/shared/ipc-schema.ts @@ -46,7 +46,6 @@ export interface IAppStateSnapshot { accountHistory?: AccountToken; tunnelState: TunnelState; settings: ISettings; - location?: ILocation; relayListPair: IRelayListPair; currentVersion: ICurrentAppVersionInfo; upgradeVersion: IAppVersionInfo; @@ -112,9 +111,6 @@ export const ipcSchema = { connected: notifyRenderer<void>(), disconnected: notifyRenderer<void>(), }, - location: { - '': notifyRenderer<ILocation>(), - }, relays: { '': notifyRenderer<IRelayListPair>(), }, @@ -129,6 +125,9 @@ export const ipcSchema = { openUrl: invoke<string, void>(), showOpenDialog: invoke<Electron.OpenDialogOptions, Electron.OpenDialogReturnValue>(), }, + location: { + get: invoke<void, ILocation>(), + }, tunnel: { '': notifyRenderer<TunnelState>(), connect: invoke<void, void>(), |
