diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-27 21:35:17 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-28 19:18:44 +0000 |
| commit | c1260293da1e6f876dd4c67db28fd1f98af42a0a (patch) | |
| tree | cc7d624b3f9e9472c862d55eabc6c01bc38b132e /gui/src/renderer/components | |
| parent | 1cc8a4eb9402e1c104a74f94162863ee8fe1c326 (diff) | |
| download | mullvadvpn-c1260293da1e6f876dd4c67db28fd1f98af42a0a.tar.xz mullvadvpn-c1260293da1e6f876dd4c67db28fd1f98af42a0a.zip | |
Rename `TunnelState` in GUI
Diffstat (limited to 'gui/src/renderer/components')
| -rw-r--r-- | gui/src/renderer/components/NotificationArea.tsx | 4 | ||||
| -rw-r--r-- | gui/src/renderer/components/TunnelControl.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx index 062bb45da7..e120e25895 100644 --- a/gui/src/renderer/components/NotificationArea.tsx +++ b/gui/src/renderer/components/NotificationArea.tsx @@ -14,7 +14,7 @@ import { NotificationTitle, } from './NotificationBanner'; -import { BlockReason, TunnelStateTransition } from '../../shared/daemon-rpc-types'; +import { BlockReason, TunnelState } from '../../shared/daemon-rpc-types'; import AccountExpiry from '../lib/account-expiry'; import { parseAuthFailure } from '../lib/auth-failure'; import { IVersionReduxState } from '../redux/version/reducers'; @@ -22,7 +22,7 @@ import { IVersionReduxState } from '../redux/version/reducers'; interface IProps { style?: Types.ViewStyleRuleSet; accountExpiry?: AccountExpiry; - tunnelState: TunnelStateTransition; + tunnelState: TunnelState; version: IVersionReduxState; openExternalLink: (url: string) => void; blockWhenDisconnected: boolean; diff --git a/gui/src/renderer/components/TunnelControl.tsx b/gui/src/renderer/components/TunnelControl.tsx index ffb7ac2479..a03332194e 100644 --- a/gui/src/renderer/components/TunnelControl.tsx +++ b/gui/src/renderer/components/TunnelControl.tsx @@ -1,14 +1,14 @@ import * as React from 'react'; import { Component, Styles, Text, Types, View } from 'reactxp'; import { colors } from '../../config.json'; -import { TunnelStateTransition } from '../../shared/daemon-rpc-types'; +import { TunnelState } from '../../shared/daemon-rpc-types'; import { cities, countries, messages, relayLocations } from '../../shared/gettext'; import ConnectionPanelContainer from '../containers/ConnectionPanelContainer'; import * as AppButton from './AppButton'; import SecuredLabel, { SecuredDisplayStyle } from './SecuredLabel'; interface ITunnelControlProps { - tunnelState: TunnelStateTransition; + tunnelState: TunnelState; selectedRelayName: string; city?: string; country?: string; |
