mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-27 07:41:11 +00:00
Fix the top margin on keystorage views
Fix lint Signed-off-by: Shivek Khurana <shivek@status.im>
This commit is contained in:
parent
293fd5fae1
commit
fa9fceb75d
@ -104,7 +104,7 @@
|
||||
(defview seed-phrase []
|
||||
(letsubs
|
||||
[{:keys [seed-word-count seed-shape-invalid?]} [:multiaccounts/key-storage]]
|
||||
[react/keyboard-avoiding-view {:style {:display :flex :flex 1 :flex-direction :column}}
|
||||
[react/keyboard-avoiding-view {:flex 1}
|
||||
[local-topbar (i18n/label :t/enter-seed-phrase)]
|
||||
[multiaccounts.views/seed-phrase-input
|
||||
{:on-change-event [::multiaccounts.key-storage/seed-phrase-input-changed]
|
||||
@ -115,15 +115,14 @@
|
||||
:margin-bottom 8
|
||||
:text-align :center}}
|
||||
(i18n/label :t/multiaccounts-recover-enter-phrase-text)]
|
||||
[react/keyboard-avoiding-view {:style {:flex 1}}
|
||||
[toolbar/toolbar {:show-border? true
|
||||
:right [quo/button
|
||||
{:type :secondary
|
||||
:disabled (or seed-shape-invalid?
|
||||
(nil? seed-shape-invalid?))
|
||||
:on-press #(re-frame/dispatch [::multiaccounts.key-storage/choose-storage-pressed])
|
||||
:after :main-icons/next}
|
||||
(i18n/label :t/choose-storage)]}]]]))
|
||||
[toolbar/toolbar {:show-border? true
|
||||
:right [quo/button
|
||||
{:type :secondary
|
||||
:disabled (or seed-shape-invalid?
|
||||
(nil? seed-shape-invalid?))
|
||||
:on-press #(re-frame/dispatch [::multiaccounts.key-storage/choose-storage-pressed])
|
||||
:after :main-icons/next}
|
||||
(i18n/label :t/choose-storage)]}]]))
|
||||
|
||||
(defn keycard-subtitle []
|
||||
[react/view
|
||||
@ -316,10 +315,7 @@
|
||||
;; Delete multiaccount and init keycard onboarding
|
||||
(re-frame/dispatch [::multiaccounts.key-storage/delete-multiaccount-and-init-keycard-onboarding]))
|
||||
|
||||
|
||||
;; Show error popup
|
||||
|
||||
|
||||
(re-frame/dispatch [::multiaccounts.key-storage/show-seed-key-uid-mismatch-error-popup])
|
||||
(re-frame/dispatch [::multiaccounts.key-storage/show-transfer-warning-popup])
|
||||
(re-frame/dispatch [::multiaccounts.key-storage/delete-multiaccount-error])
|
||||
|
@ -5,6 +5,7 @@
|
||||
[status-im.ui.screens.multiaccounts.views :as multiaccounts]
|
||||
[status-im.ui.screens.intro.views :as intro]
|
||||
[status-im.keycard.core :as keycard.core]
|
||||
[status-im.ui.screens.routing.key-storage-stack :as key-storage-stack]
|
||||
[status-im.ui.screens.keycard.onboarding.views :as keycard.onboarding]
|
||||
[status-im.ui.screens.keycard.recovery.views :as keycard.recovery]
|
||||
[status-im.ui.screens.keycard.views :as keycard]
|
||||
@ -104,4 +105,7 @@
|
||||
{:name :keycard-unpaired
|
||||
:component keycard/unpaired}
|
||||
{:name :not-keycard
|
||||
:component keycard/not-keycard}]]))
|
||||
:component keycard/not-keycard}
|
||||
{:name :key-storage-stack
|
||||
:insets {:top false}
|
||||
:component key-storage-stack/key-storage-stack}]]))
|
||||
|
@ -11,7 +11,6 @@
|
||||
[status-im.ui.screens.routing.chat-stack :as chat-stack]
|
||||
[status-im.ui.screens.routing.wallet-stack :as wallet-stack]
|
||||
[status-im.ui.screens.wallet.buy-crypto.views :as wallet.buy-crypto]
|
||||
[status-im.ui.screens.routing.key-storage-stack :as key-storage-stack]
|
||||
[status-im.ui.screens.group.views :as group-chat]
|
||||
[status-im.ui.screens.routing.profile-stack :as profile-stack]
|
||||
[status-im.ui.screens.routing.browser-stack :as browser-stack]
|
||||
@ -162,9 +161,7 @@
|
||||
{:name :buy-crypto-website
|
||||
:transition :presentation-ios
|
||||
:insets {:bottom true}
|
||||
:component wallet.buy-crypto/website}
|
||||
{:name :key-storage-stack
|
||||
:component key-storage-stack/key-storage-stack}]
|
||||
:component wallet.buy-crypto/website}]
|
||||
|
||||
(when config/quo-preview-enabled?
|
||||
[{:name :quo-preview
|
||||
|
Loading…
x
Reference in New Issue
Block a user