Browse Source

single spv server warning icon

v0.25
pbca26 7 years ago
parent
commit
0b33b49e07
  1. 6
      react/src/components/dashboard/coinTile/coinTileItem.render.js
  2. 11
      react/src/components/overrides.scss

6
react/src/components/dashboard/coinTile/coinTileItem.render.js

@ -1,4 +1,5 @@
import React from 'react';
import { translate } from '../../../translate/translate';
const CoinTileItemRender = function() {
const { item } = this.props;
@ -23,6 +24,11 @@ const CoinTileItemRender = function() {
</div>
</div>
</div>
{ this.props.Dashboard && this.props.Dashboard.electrumCoins && this.props.Dashboard.electrumCoins[item.coin].serverList && this.props.Dashboard.electrumCoins[item.coin].serverList === 'none' &&
<i
title={ translate('SETTINGS.SPV_SINGLE_SERVER_NOTICE') }
className="icon fa-info-circle icon-spv-connection-warning"></i>
}
</div>
);
};

11
react/src/components/overrides.scss

@ -442,4 +442,15 @@ select{
color: #4caf50;
font-size: 13px;
padding-top: 5px;
}
.icon-spv-connection-warning {
position: absolute;
bottom: 15px;
right: 15px;
&:before {
color: #f2a654;
font-size: 18px;
}
}
Loading…
Cancel
Save