diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-01-15 15:00:12 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-01-15 15:00:12 +0100 |
| commit | 3cb1cb236bf049822b1e28a6007a23f4c49bce15 (patch) | |
| tree | 95750b881230c0c4b78c203ec51ce320bfcaa307 | |
| parent | 86b694b004b2b9c95c68fbd4064ec83167da8c3a (diff) | |
| parent | 2f0fe3f2c65d24d3b6c697b1bfa23a985262ee2b (diff) | |
| download | mullvadvpn-3cb1cb236bf049822b1e28a6007a23f4c49bce15.tar.xz mullvadvpn-3cb1cb236bf049822b1e28a6007a23f4c49bce15.zip | |
Merge branch 'clipboard-xp'
| -rw-r--r-- | app/redux/connection/actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/redux/connection/actions.js b/app/redux/connection/actions.js index f2ebf2c7ba..aef4b85213 100644 --- a/app/redux/connection/actions.js +++ b/app/redux/connection/actions.js @@ -1,6 +1,6 @@ // @flow -import { clipboard } from 'electron'; +import { Clipboard } from 'reactxp'; import type { Backend } from '../../lib/backend'; import type { ReduxThunk } from '../store'; @@ -12,7 +12,7 @@ const copyIPAddress = (): ReduxThunk => { return (_, getState) => { const { connection: { clientIp } } = getState(); if(clientIp) { - clipboard.writeText(clientIp); + Clipboard.setText(clientIp); } }; }; |
