mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
[#12569] RPC URL is lower-cased when entered in URL field when adding a custom network
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
995db1c332
commit
c001688db9
@ -1,6 +1,5 @@
|
||||
(ns status-im.ui.screens.network.edit-network.views
|
||||
(:require [clojure.string :as string]
|
||||
[re-frame.core :as re-frame]
|
||||
(:require [re-frame.core :as re-frame]
|
||||
[status-im.i18n.i18n :as i18n]
|
||||
[status-im.network.core :as network]
|
||||
[status-im.ui.screens.network.edit-network.styles :as styles]
|
||||
@ -40,7 +39,7 @@
|
||||
{:label (i18n/label :t/rpc-url)
|
||||
:placeholder (i18n/label :t/specify-rpc-url)
|
||||
:default-value (get-in manage-network [:url :value])
|
||||
:on-change-text #(re-frame/dispatch [::network/input-changed :url (string/lower-case %)])}]]]
|
||||
:on-change-text #(re-frame/dispatch [::network/input-changed :url %])}]]]
|
||||
[quo/list-header (i18n/label :t/network-chain)]
|
||||
[list/flat-list {:data [:mainnet :testnet :rinkeby :custom]
|
||||
:key-fn (fn [_ i] (str i))
|
||||
|
Loading…
x
Reference in New Issue
Block a user