Skip to content

Commit

Permalink
add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed May 14, 2024
1 parent dfadd76 commit 650344a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libwallet/ext/rate_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ var (
ws: "wss://stream.binance.com:9443/stream?streams=%s",
}

binanceProhibitedCountries = "https://www.binance.com/en/legal/list-of-prohibited-countries"

// supportedMarkets is a map of markets supported by rate sources
// implemented (Binance, Bittrex).
supportedMarkets = map[string]*struct{}{
Expand Down
Binary file added ui/assets/decredicons/orange_alert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion ui/cryptomaterial/icon_gallery.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Icons struct {
SimpleSwapIcon, SwapzoneIcon, ShapeShiftIcon, GodexIcon, CoinSwitchIcon, ChangeNowIcon, TrocadorIcon, CaretUp, CaretDown,
LTCBackground, LTCGroupIcon, DCRBackground, DCRGroupIcon, BTCBackground, BTCGroupIcon, CrossPlatformIcon,
IntegratedExchangeIcon, MultiWalletIcon, Dot, TradeExchangeIcon, FilterImgIcon, FilterOffImgIcon, ShareIcon, DeleteIcon,
CircleBTC, CircleLTC, CircleDCR, TelegramIcon, MatrixIcon, WebsiteIcon, TwitterIcon *Image
CircleBTC, CircleLTC, CircleDCR, TelegramIcon, MatrixIcon, WebsiteIcon, TwitterIcon, OrangeAlert *Image

NewStakeIcon,
TicketImmatureIcon,
Expand Down Expand Up @@ -171,6 +171,7 @@ func (i *Icons) DefaultIcons() *Icons {
i.DarkmodeIcon = NewImage(decredIcons["darkmodeIcon"])
i.MixerInactive = NewImage(decredIcons["mixer_inactive"])
i.RedAlert = NewImage(decredIcons["red_alert"])
i.OrangeAlert = NewImage(decredIcons["orange_alert"])
i.ChevronExpand = NewImage(decredIcons["chevron_expand"])
i.ChevronCollapse = NewImage(decredIcons["coll_half"])
i.ChevronRight = NewImage(decredIcons["chevron_coll"])
Expand Down

0 comments on commit 650344a

Please sign in to comment.