From 62db799d60fe5a852ad6c5285658092488ad7beb Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Tue, 16 Oct 2018 15:46:47 +0200 Subject: [PATCH] rename kUDOS key to KDO, and fixed tokens list item alignment Signed-off-by: Andrey Shovkoplyas --- .../images/tokens/mainnet/{KUDOS.png => KDO.png} | Bin .../tokens/mainnet/{KUDOS@2x.png => KDO@2x.png} | Bin .../tokens/mainnet/{KUDOS@3x.png => KDO@3x.png} | Bin .../images/tokens/rinkeby/{KUDOS.png => KDO.png} | Bin .../tokens/rinkeby/{KUDOS@2x.png => KDO@2x.png} | Bin .../tokens/rinkeby/{KUDOS@3x.png => KDO@3x.png} | Bin src/status_im/constants.cljs | 2 +- src/status_im/ui/components/list/styles.cljs | 3 +-- .../screens/wallet/collectibles/kudos/events.cljs | 2 +- .../ui/screens/wallet/collectibles/kudos/views.cljs | 2 +- src/status_im/utils/ethereum/tokens.cljs | 4 ++-- 11 files changed, 6 insertions(+), 7 deletions(-) rename resources/images/tokens/mainnet/{KUDOS.png => KDO.png} (100%) rename resources/images/tokens/mainnet/{KUDOS@2x.png => KDO@2x.png} (100%) rename resources/images/tokens/mainnet/{KUDOS@3x.png => KDO@3x.png} (100%) rename resources/images/tokens/rinkeby/{KUDOS.png => KDO.png} (100%) rename resources/images/tokens/rinkeby/{KUDOS@2x.png => KDO@2x.png} (100%) rename resources/images/tokens/rinkeby/{KUDOS@3x.png => KDO@3x.png} (100%) diff --git a/resources/images/tokens/mainnet/KUDOS.png b/resources/images/tokens/mainnet/KDO.png similarity index 100% rename from resources/images/tokens/mainnet/KUDOS.png rename to resources/images/tokens/mainnet/KDO.png diff --git a/resources/images/tokens/mainnet/KUDOS@2x.png b/resources/images/tokens/mainnet/KDO@2x.png similarity index 100% rename from resources/images/tokens/mainnet/KUDOS@2x.png rename to resources/images/tokens/mainnet/KDO@2x.png diff --git a/resources/images/tokens/mainnet/KUDOS@3x.png b/resources/images/tokens/mainnet/KDO@3x.png similarity index 100% rename from resources/images/tokens/mainnet/KUDOS@3x.png rename to resources/images/tokens/mainnet/KDO@3x.png diff --git a/resources/images/tokens/rinkeby/KUDOS.png b/resources/images/tokens/rinkeby/KDO.png similarity index 100% rename from resources/images/tokens/rinkeby/KUDOS.png rename to resources/images/tokens/rinkeby/KDO.png diff --git a/resources/images/tokens/rinkeby/KUDOS@2x.png b/resources/images/tokens/rinkeby/KDO@2x.png similarity index 100% rename from resources/images/tokens/rinkeby/KUDOS@2x.png rename to resources/images/tokens/rinkeby/KDO@2x.png diff --git a/resources/images/tokens/rinkeby/KUDOS@3x.png b/resources/images/tokens/rinkeby/KDO@3x.png similarity index 100% rename from resources/images/tokens/rinkeby/KUDOS@3x.png rename to resources/images/tokens/rinkeby/KDO@3x.png diff --git a/src/status_im/constants.cljs b/src/status_im/constants.cljs index 683e7a0df8..f1d417d6c9 100644 --- a/src/status_im/constants.cljs +++ b/src/status_im/constants.cljs @@ -88,7 +88,7 @@ (defn default-account-settings [] {:wallet {:visible-tokens {:testnet #{:STT :HND} :mainnet #{:SNT} - :rinkeby #{:MOKSHA :KUDOS}}}}) + :rinkeby #{:MOKSHA :KDO}}}}) (def currencies {:aed {:id :aed :code "AED" :display-name (i18n/label :t/currency-display-name-aed) :symbol "د.إ"} diff --git a/src/status_im/ui/components/list/styles.cljs b/src/status_im/ui/components/list/styles.cljs index ff9f6e803d..b0fe956290 100644 --- a/src/status_im/ui/components/list/styles.cljs +++ b/src/status_im/ui/components/list/styles.cljs @@ -22,8 +22,7 @@ :color colors/black}) (def primary-text - (merge primary-text-base - {:padding-top 12})) + primary-text-base) (def primary-text-only (merge primary-text-base diff --git a/src/status_im/ui/screens/wallet/collectibles/kudos/events.cljs b/src/status_im/ui/screens/wallet/collectibles/kudos/events.cljs index 52955c5181..cef84aa0f8 100644 --- a/src/status_im/ui/screens/wallet/collectibles/kudos/events.cljs +++ b/src/status_im/ui/screens/wallet/collectibles/kudos/events.cljs @@ -8,7 +8,7 @@ [status-im.constants :as constants] [status-im.utils.ethereum.core :as ethereum])) -(def kudos :KUDOS) +(def kudos :KDO) (defmethod collectibles/load-collectible-fx kudos [{db :db} symbol id] (let [chain-id (get-in constants/default-networks [(:network db) :config :NetworkId])] diff --git a/src/status_im/ui/screens/wallet/collectibles/kudos/views.cljs b/src/status_im/ui/screens/wallet/collectibles/kudos/views.cljs index 6160cfba5a..d035a0b1a1 100644 --- a/src/status_im/ui/screens/wallet/collectibles/kudos/views.cljs +++ b/src/status_im/ui/screens/wallet/collectibles/kudos/views.cljs @@ -8,7 +8,7 @@ [re-frame.core :as re-frame] [status-im.i18n :as i18n])) -(defmethod collectibles/render-collectible :KUDOS [_ {:keys [external_url description name image]}] +(defmethod collectibles/render-collectible :KDO [_ {:keys [external_url description name image]}] [react/view {:style styles/details} [react/view {:style styles/details-text} [svgimage/svgimage {:style styles/details-image diff --git a/src/status_im/utils/ethereum/tokens.cljs b/src/status_im/utils/ethereum/tokens.cljs index 59d0168c22..b9eeb01b2c 100644 --- a/src/status_im/utils/ethereum/tokens.cljs +++ b/src/status_im/utils/ethereum/tokens.cljs @@ -423,7 +423,7 @@ :nft? true :name "SuperRare" :address "0x41a322b28d0ff354040e2cbc676f0320d8c8850d"} - {:symbol :KUDOS + {:symbol :KDO :nft? true :name "KudosToken" :address "0x56c72cda0b04fc39a25d0b6a64fa258fad46d664"}]) @@ -461,7 +461,7 @@ :symbol :MOKSHA :decimals 18 :address "0x6ba7dc8dd10880ab83041e60c4ede52bb607864b"} - {:symbol :KUDOS + {:symbol :KDO :nft? true :name "KudosToken" :address "0x93bB0AFbd0627Bbd3a6C72Bc318341D3A22e254a"}])