Skip to content

Commit

Permalink
keyboard avoiding view, test fleet
Browse files Browse the repository at this point in the history
  • Loading branch information
cammellos committed Aug 25, 2020
1 parent ea566aa commit 454be69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env.jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DEFAULT_NETWORK=mainnet_rpc
ERC20_CONTRACT_WARNINGS=0
ETHEREUM_DEV_CLUSTER=1
EXTENSIONS=0
FLEET=eth.prod
FLEET=eth.test
GROUP_CHATS_ENABLED=1
LOG_LEVEL=info
MAILSERVER_CONFIRMATIONS_ENABLED=1
Expand Down
16 changes: 9 additions & 7 deletions src/status_im/ui/screens/notifications_settings/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,15 @@
[react/scroll-view {:style {:flex 1}
:content-container-style {:padding-vertical 8}}
(map server-view servers)
[react/view {:style {:padding-horizontal 20}}
[quo/text-input
{:label (i18n/label :t/server)
:placeholder (i18n/label :t/specify-server-public-key)
:value @server
:on-change-text #(reset! server %)
:auto-focus true}]
[react/keyboard-avoiding-view {}
[react/scroll-view {:keyboard-should-persist-taps :handled}
[react/view {:style {:padding-horizontal 20}}
[quo/text-input
{:label (i18n/label :t/server)
:placeholder (i18n/label :t/specify-server-public-key)
:value @server
:on-change-text #(reset! server %)
:auto-focus true}]]]
[quo/button {:type :secondary
:after :main-icon/next
:disabled (empty? @server)
Expand Down

0 comments on commit 454be69

Please sign in to comment.