File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
profile/settings/screens/notifications Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 223223 :onboarding/password-set
224224 (fn [{:keys [db]} [masked-password]]
225225 (let [biometric-supported-type (get-in db [:biometrics :supported-type ])
226+ syncing? (get-in db [:onboarding/profile :syncing? ])
226227 from-screen (get db
227228 :onboarding/navigated-to-enter-seed-phrase-from-screen
228229 :screen/onboarding.create-profile )]
229230 {:db (-> db
230231 (assoc-in [:onboarding/profile :password ] masked-password)
231232 (assoc-in [:onboarding/profile :auth-method ] constants/auth-method-password))
232233 :fx [[:dispatch
233- (if biometric-supported-type
234+ (cond
235+ biometric-supported-type
234236 [:navigate-to-within-stack [:screen/onboarding.enable-biometrics from-screen]]
237+
238+ (ff/enabled? ::ff/settings.news-notifications )
239+ [:onboarding/notifications-setup
240+ {:onboarding? true
241+ :biometrics? false
242+ :syncing? syncing?}]
243+
244+ :else
235245 [:onboarding/create-account-and-login ])]]})))
236246
237247(rf/reg-event-fx
Original file line number Diff line number Diff line change 134134 [quo/selectors
135135 {:type :toggle
136136 :checked? (:checked? action-props)
137+ :disabled? (:disabled? action-props)
137138 :on-change (:on-change action-props)}]]
138139 [rn/flat-list
139140 {:data [(chat-non-contacts-notifications-setting notifications-settings)
You can’t perform that action at this time.
0 commit comments