Skip to content

Commit

Permalink
fix bug #7 - add margin to ios pin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast authored and bitgamma committed Feb 12, 2021
1 parent 1c789e1 commit 49c2a57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/status_im/ui/screens/signing/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
[status-im.ui.screens.signing.sheets :as sheets]
[status-im.ethereum.tokens :as tokens]
[status-im.utils.types :as types]
[status-im.utils.platform :as platform]
[clojure.string :as string]
[quo.core :as quo]
[quo.gesture-handler :as gh]
Expand Down Expand Up @@ -107,8 +108,9 @@
enter-step [:keycard/pin-enter-step]
status [:keycard/pin-status]
retry-counter [:keycard/retry-counter]]
(let [enter-step (or enter-step :sign)]
[react/view
(let [enter-step (or enter-step :sign)
margin-bottom (if platform/ios? 40 0)]
[react/view { :margin-bottom margin-bottom }
[pin.views/pin-view
{:pin pin
:retry-counter retry-counter
Expand Down

0 comments on commit 49c2a57

Please sign in to comment.