Skip to content

Commit 896207b

Browse files
committed
Remove override-theme key usage in codebase for action-drawer
Signed-off-by: Mohamed Javid <[email protected]>
1 parent d1cb3e2 commit 896207b

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/status_im2/contexts/onboarding/create_profile/view.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@
122122
[:show-bottom-sheet
123123
{:content
124124
(fn []
125-
[method-menu/view on-change-profile-pic])}]))
125+
[method-menu/view on-change-profile-pic])
126+
:theme :dark}]))
126127
:image-picker-props {:profile-picture (when @profile-pic {:uri @profile-pic})
127128
:full-name (if (seq @full-name)
128129
@full-name

src/status_im2/contexts/onboarding/select_photo/method_menu/view.cljs

-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@
6262
[[{:icon :i/camera
6363
:accessibility-label :take-photo-button
6464
:label (i18n/label :t/profile-pic-take)
65-
:override-theme :dark
6665
:on-press #(take-pic update-profile-pic-callback)}
6766
{:icon :i/image
68-
:override-theme :dark
6967
:accessibility-label :select-from-gallery-button
7068
:label (i18n/label :t/profile-pic-pick)
7169
:on-press #(pick-pic update-profile-pic-callback)}]]])

src/status_im2/contexts/syncing/setup_syncing/view.cljs

+3-4
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
{:label (i18n/label :t/have-a-sync-code?)
132132
:increase-padding-top? true}]
133133
[quo/action-drawer
134-
[[{:icon :i/scan
135-
:override-theme :dark
136-
:on-press #(rf/dispatch [:navigate-to :scan-sync-code-page])
137-
:label (i18n/label :t/scan-or-enter-sync-code)}]]]]]])))
134+
[[{:icon :i/scan
135+
:on-press #(rf/dispatch [:navigate-to :scan-sync-code-page])
136+
:label (i18n/label :t/scan-or-enter-sync-code)}]]]]]])))

0 commit comments

Comments
 (0)