diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-31 05:50:05 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-31 05:50:05 +0800 |
commit | 4339f04e80be74dd318e03f75fcf3410e923d30d (patch) | |
tree | fbff60758e9dc24a4c11588d7778c92d5f71c7ff /ui/app/reducers | |
parent | b6592ba95f39431d585e8ad19d66364d48c8add3 (diff) | |
download | tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.gz tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.bz2 tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.lz tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.xz tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.tar.zst tangerine-wallet-browser-4339f04e80be74dd318e03f75fcf3410e923d30d.zip |
use existing modals
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 9775638a7..fed8b1b95 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -50,7 +50,6 @@ function reduceApp (state, action) { }, sidebarOpen: false, alertOpen: false, - qrScannerOpen: false, alertMessage: null, qrCodeData: null, networkDropdownOpen: false, @@ -104,17 +103,8 @@ function reduceApp (state, action) { alertOpen: false, alertMessage: null, }) - // qr scanner methods - case actions.QR_SCANNER_OPEN: - return extend(appState, { - qrScannerOpen: true, - }) - - case actions.QR_SCANNER_CLOSE: - return extend(appState, { - qrScannerOpen: false, - }) + // qr scanner methods case actions.QR_CODE_DETECTED: return extend(appState, { qrCodeData: action.value, |