Skip to content

Commit

Permalink
tidy: extract key-pair container styles into style namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
seanstrom committed May 6, 2024
1 parent 910da15 commit 9f47bb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
[inset-top]
{:padding-top inset-top
:flex 1})

(def keypair-container-style
{:margin-horizontal 20
:margin-vertical 8})
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
:state :default
:action :none}))))

(def keypair-container-style
{:margin-horizontal 20
:margin-vertical 8})

(defn on-options-press
[{:keys [theme]
:as props}]
Expand Down Expand Up @@ -71,7 +67,7 @@
:action :options
:accounts accounts
:customization-color customization-color
:container-style keypair-container-style
:container-style style/keypair-container-style
:profile-picture (when default-keypair? profile-picture)
:type (if default-keypair? :default-keypair :other)
:on-options-press on-press
Expand Down

0 comments on commit 9f47bb3

Please sign in to comment.