Skip to content

Commit

Permalink
Update preview screen as per PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
  • Loading branch information
smohamedjavid committed Jul 28, 2023
1 parent 4494c9f commit 8d1b460
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/status_im2/contexts/quo_preview/avatars/account_avatar.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(ns status-im2.contexts.quo-preview.avatars.account-avatar
(:require [quo2.components.colors.color-picker.view :as color-picker]
[quo2.components.avatars.account-avatar.view :as account-avatar]
(:require [quo2.components.avatars.account-avatar.view :as account-avatar]
[quo2.foundations.colors :as colors]
[react-native.core :as rn]
[reagent.core :as reagent]
Expand Down Expand Up @@ -34,12 +33,7 @@
{:label "Emoji"
:key :emoji
:type :text}
{:label "Customization color:"
:key :customization-color
:type :select
:options (mapv (fn [color]
{:key color :value color})
color-picker/color-list)}])
(preview/customization-color-option)])

(defn cool-preview
[]
Expand All @@ -60,8 +54,8 @@
(defn preview-account-avatar
[]
[rn/view
{:flex 1
:background-color (colors/theme-colors colors/white colors/neutral-95)}
{:style {:flex 1
:background-color (colors/theme-colors colors/white colors/neutral-95)}}
[rn/flat-list
{:flex 1
:keyboard-should-persist-taps :always
Expand Down

0 comments on commit 8d1b460

Please sign in to comment.