mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-10 15:46:35 +00:00
Command and argument are misaligned [iOS only] (#1151); Redundant :secure-text-entry value removed
This commit is contained in:
parent
145e3ba1d4
commit
1eaea101dd
@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
(def max-input-height 66)
|
(def max-input-height 66)
|
||||||
(def min-input-height 38)
|
(def min-input-height 38)
|
||||||
(def input-spacing-top 3)
|
|
||||||
(def input-spacing-bottom 5)
|
|
||||||
|
|
||||||
(defnstyle root [margin-bottom]
|
(defnstyle root [margin-bottom]
|
||||||
{:flex-direction :column
|
{:flex-direction :column
|
||||||
@ -58,9 +56,10 @@
|
|||||||
(defnstyle input-view [content-height]
|
(defnstyle input-view [content-height]
|
||||||
{:flex 1
|
{:flex 1
|
||||||
:font-size 14
|
:font-size 14
|
||||||
:padding-top input-spacing-top
|
:padding-top 5
|
||||||
:padding-bottom input-spacing-bottom
|
:padding-bottom 5
|
||||||
:height (+ (min (max min-input-height content-height) max-input-height))})
|
:height (+ (min (max min-input-height content-height) max-input-height))
|
||||||
|
:android {:padding-top 3}})
|
||||||
|
|
||||||
(def invisible-input-text
|
(def invisible-input-text
|
||||||
{:font-size 14
|
{:font-size 14
|
||||||
|
@ -156,7 +156,6 @@
|
|||||||
:default-value (or @seq-arg-input-text "")
|
:default-value (or @seq-arg-input-text "")
|
||||||
:on-change-text #(do (dispatch [:set-chat-seq-arg-input-text %])
|
:on-change-text #(do (dispatch [:set-chat-seq-arg-input-text %])
|
||||||
(dispatch [:set-chat-ui-props {:validation-messages nil}]))
|
(dispatch [:set-chat-ui-props {:validation-messages nil}]))
|
||||||
:secure-text-entry hidden
|
|
||||||
:placeholder placeholder
|
:placeholder placeholder
|
||||||
:blur-on-submit false
|
:blur-on-submit false
|
||||||
:editable (not @sending-in-progress?)
|
:editable (not @sending-in-progress?)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user