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 4545
4646(defn enable-notification-form
4747 [{: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)}])
4950 [third-party-checked?
5051 set-third-party-checked] (rn/use-state true )
5152 on-enable-notifications (rn/use-callback
Original file line number Diff line number Diff line change 66 :onboarding/customization-color
77 :<- [:onboarding/profile ]
88 :<- [: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 ?
1212 color
1313 customization-color)))
You can’t perform that action at this time.
0 commit comments