This commit is contained in:
parent
8dc71f6432
commit
1d2c01c16b
|
@ -31,13 +31,13 @@
|
|||
:token (:symbol balance)))))
|
||||
|
||||
(defn- account-item
|
||||
[{:keys [customization-color address name emoji]} _ _ [selected-addresses community-id]]
|
||||
[{:keys [color address name emoji]} _ _ [selected-addresses community-id]]
|
||||
(let [balances (rf/sub [:communities/permissioned-balances-by-address community-id address])]
|
||||
[quo/account-permissions
|
||||
{:account {:name name
|
||||
:address address
|
||||
:emoji emoji
|
||||
:customization-color customization-color}
|
||||
:customization-color color}
|
||||
:token-details (balances->components-props balances)
|
||||
:checked? (contains? selected-addresses address)
|
||||
:on-change #(rf/dispatch [:communities/toggle-selected-permission-address
|
||||
|
@ -51,7 +51,7 @@
|
|||
(fn []
|
||||
(let [{:keys [name color images]} (rf/sub [:communities/community id])
|
||||
{:keys [highest-permission-role]} (rf/sub [:community/token-gated-overview id])
|
||||
accounts (rf/sub [:wallet/accounts-with-customization-color])
|
||||
accounts (rf/sub [:wallet/accounts-without-watched-accounts])
|
||||
selected-addresses (rf/sub [:communities/selected-permission-addresses id])
|
||||
highest-role-text (when highest-permission-role
|
||||
(i18n/label (communities.utils/role->translation-key
|
||||
|
|
|
@ -370,7 +370,7 @@
|
|||
(re-frame/reg-sub
|
||||
:communities/selected-permission-accounts
|
||||
(fn [[_ community-id]]
|
||||
[(re-frame/subscribe [:wallet/accounts-with-customization-color])
|
||||
[(re-frame/subscribe [:wallet/accounts-without-watched-accounts])
|
||||
(re-frame/subscribe [:communities/selected-permission-addresses community-id])])
|
||||
(fn [[accounts selected-permission-addresses]]
|
||||
(filter #(contains? selected-permission-addresses (:address %)) accounts)))
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
|
||||
(rf/reg-sub
|
||||
:wallet/accounts-without-watched-accounts
|
||||
:<- [:wallet/accounts]
|
||||
:<- [:wallet/accounts-with-customization-color]
|
||||
(fn [accounts]
|
||||
(remove #(:watch-only? %) accounts)))
|
||||
|
||||
|
|
|
@ -367,7 +367,8 @@
|
|||
(assoc-in [:wallet :accounts] accounts)
|
||||
(assoc-in [:wallet :networks] network-data)))
|
||||
(is
|
||||
(= (list
|
||||
(=
|
||||
(list
|
||||
{:path "m/44'/60'/0'/0/0"
|
||||
:emoji "😃"
|
||||
:key-uid "0x2f5ea39"
|
||||
|
@ -379,6 +380,7 @@
|
|||
:chat false
|
||||
:test-preferred-chain-ids #{5 420 421613}
|
||||
:color :blue
|
||||
:customization-color :blue
|
||||
:hidden false
|
||||
:prod-preferred-chain-ids #{1 10 42161}
|
||||
:network-preferences-names #{:ethereum :arbitrum :optimism}
|
||||
|
@ -401,6 +403,7 @@
|
|||
:chat false
|
||||
:test-preferred-chain-ids #{5 420 421613}
|
||||
:color :purple
|
||||
:customization-color :purple
|
||||
:hidden false
|
||||
:prod-preferred-chain-ids #{1 10 42161}
|
||||
:network-preferences-names #{:ethereum :arbitrum :optimism}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||
"owner": "status-im",
|
||||
"repo": "status-go",
|
||||
"version": "v0.174.5",
|
||||
"commit-sha1": "1ea2bd99d4c11f591df554c089aa9283b9742c59",
|
||||
"src-sha256": "0b9411581gmxrrrbgbjk34db8xgz5qlhvrhp9hngggar1b7vmp1w"
|
||||
"version": "v0.174.6",
|
||||
"commit-sha1": "f95dd35d131f68645b7c4dc5fbcea955c16e25bd",
|
||||
"src-sha256": "188chrifz4h3j6fpsrqq83v2vcnpp8y4282k9lhlrkkknfgwz5v2"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue