diff --git a/assets/mainWindow/css/loading.css b/assets/mainWindow/css/loading.css index c8c97c3..8782de6 100644 --- a/assets/mainWindow/css/loading.css +++ b/assets/mainWindow/css/loading.css @@ -109,4 +109,9 @@ body.agamaMode { .btn.btn-primary.btn-close-app { margin: 0; +} + +.app-closing { + position: relative; + top: 50px; } \ No newline at end of file diff --git a/react/src/actions/actions/nativeSend.js b/react/src/actions/actions/nativeSend.js index fc3e3e2..05e8dbb 100644 --- a/react/src/actions/actions/nativeSend.js +++ b/react/src/actions/actions/nativeSend.js @@ -176,8 +176,8 @@ export function getKMDOPIDState(json) { } export function getKMDOPID(opid, coin) { - let tmpopidOutput = '', - ajaxDataToHex; + let tmpopidOutput = ''; + let ajaxDataToHex; if (opid === undefined) { ajaxDataToHex = null; diff --git a/react/src/assets/images/support/github-icon.png b/react/src/assets/images/support/github-icon.png new file mode 100644 index 0000000..21ebc17 Binary files /dev/null and b/react/src/assets/images/support/github-icon.png differ diff --git a/react/src/assets/images/support/slack-icon.png b/react/src/assets/images/support/slack-icon.png new file mode 100644 index 0000000..edf6343 Binary files /dev/null and b/react/src/assets/images/support/slack-icon.png differ diff --git a/react/src/assets/images/support/slack-invite-icon.png b/react/src/assets/images/support/slack-invite-icon.png new file mode 100644 index 0000000..dd38ca6 Binary files /dev/null and b/react/src/assets/images/support/slack-invite-icon.png differ diff --git a/react/src/components/addcoin/addcoin.js b/react/src/components/addcoin/addcoin.js index 55295d7..9699613 100644 --- a/react/src/components/addcoin/addcoin.js +++ b/react/src/components/addcoin/addcoin.js @@ -1,4 +1,5 @@ import React from 'react'; +import { connect } from 'react-redux'; import { translate } from '../../translate/translate'; import Config from '../../config'; import { @@ -16,8 +17,8 @@ import CoinSelectorsRender from './coin-selectors.render'; import AddCoinRender from './addcoin.render'; class AddCoin extends React.Component { - constructor(props) { - super(props); + constructor() { + super(); this.state = { nativeOnly: Config.iguanaLessMode, coins: [], @@ -354,4 +355,16 @@ class AddCoin extends React.Component { } } -export default AddCoin; + +const mapStateToProps = (state) => { + return { + Main: state.Main, + ActiveCoin: { + coin: state.ActiveCoin.coin, + }, + AddCoin: state.AddCoin, + }; + +}; + +export default connect(mapStateToProps)(AddCoin); diff --git a/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.js b/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.js index cea9312..e3ebc80 100755 --- a/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.js +++ b/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.js @@ -1,4 +1,5 @@ import React from 'react'; +import { connect } from 'react-redux'; import { getCoinTitle } from '../../../util/coinHelper'; import { translate } from '../../../translate/translate'; import { toggleLoginSettingsModal } from '../../../actions/actionCreators'; @@ -29,4 +30,11 @@ class LoginSettingsModal extends React.Component { } } -export default LoginSettingsModal; \ No newline at end of file +const mapStateToProps = (state) => { + return { + Main: state.Main + }; + +}; + +export default connect(mapStateToProps)(LoginSettingsModal); diff --git a/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.render.js b/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.render.js index 8a59705..a36ac83 100644 --- a/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.render.js +++ b/react/src/components/dashboard/loginSettingsModal/loginSettingsModal.render.js @@ -6,13 +6,12 @@ import Settings from '../settings/settings'; export const LoginSettingsModalRender = function() { return (