File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
contexts/onboarding/enable_notifications Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 45
45
46
46
(defn enable-notification-form
47
47
[{:keys [insets params]}]
48
- (let [profile-color (rf/sub [:onboarding/customization-color ])
48
+ (let [profile-color (rf/sub [:onboarding/customization-color
49
+ {:onboarding? (:onboarding? params)}])
49
50
[third-party-checked?
50
51
set-third-party-checked] (rn/use-state true )
51
52
on-enable-notifications (rn/use-callback
Original file line number Diff line number Diff line change 6
6
:onboarding/customization-color
7
7
:<- [:onboarding/profile ]
8
8
:<- [:profile/customization-color ]
9
- :<- [ :onboarding/new-account? ]
10
- ( fn [[ {:keys [color]} customization-color new-account? ]]
11
- (if new-account ?
9
+ ( fn [[{ :keys [color]} customization-color ]
10
+ [_sub-id {:keys [onboarding?]} ]]
11
+ (if onboarding ?
12
12
color
13
13
customization-color)))
You can’t perform that action at this time.
0 commit comments