Skip to content

Commit

Permalink
fix: linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
clauxx committed Feb 22, 2024
1 parent 1793161 commit 9aed540
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
(:require [quo.core :as quo]
quo.theme
[react-native.core :as rn]
[react-native.safe-area :as safe-area]
[status-im.common.floating-button-page.view :as floating-button-page]
[status-im.constants :as constants]
[status-im.contexts.wallet.common.screen-base.create-or-edit-account.style :as style]
Expand All @@ -13,13 +12,10 @@
[{:keys [page-nav-right-side placeholder account-name account-color account-emoji
on-change-name
on-change-color
margin-top?
on-change-emoji section-label
bottom-action-label bottom-action-props
custom-bottom-action watch-only?]} & children]
(let [{window-width :width} (rn/get-window)
{:keys [top]} (safe-area/get-insets)
margin-top (if (not margin-top?) 0 top)]
(let [{window-width :width} (rn/get-window)]
[floating-button-page/view
{:header [quo/page-nav
{:type :no-title
Expand Down

0 comments on commit 9aed540

Please sign in to comment.