File tree 4 files changed +2
-17
lines changed
4 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 65
65
:on-press (fn [_]
66
66
(if (sync-utils/valid-connection-string? @sync-code-value)
67
67
(debounce/debounce-and-dispatch
68
- [:syncing/store-local-pairing- connection-string-and-navigate-to-biometric
68
+ [:syncing/input- connection-string-for-bootstrapping
69
69
@sync-code-value]
70
70
300 )
71
71
(rf/dispatch [:toasts/upsert
Original file line number Diff line number Diff line change 93
93
config-map
94
94
input-connection-string-callback)))
95
95
96
- (rf/reg-event-fx
97
- :syncing/store-local-pairing-connection-string-and-navigate-to-biometric
98
- (fn [{:keys [db]} [connection-string]]
99
- {:db (assoc-in db [:onboarding/profile :connection-string ] connection-string)
100
- :dispatch
101
- (if (get-in db [:biometrics :supported-type ])
102
- [:navigate-to-within-stack [:screen/onboarding.enable-biometrics :screen/onboarding.log-in ]]
103
- [:syncing/initiate-local-pairing-with-stored-connection-string ])}))
104
-
105
96
(rf/defn preparations-for-connection-string
106
97
{:events [:syncing/get-connection-string ]}
107
98
[{:keys [db]} sha3-pwd on-valid-connection-string]
Original file line number Diff line number Diff line change 225
225
(do
226
226
(on-success-scan )
227
227
(debounce/debounce-and-dispatch
228
- [:syncing/store-local-pairing- connection-string-and-navigate-to-biometric connection-string]
228
+ [:syncing/input- connection-string-for-bootstrapping connection-string]
229
229
300 ))
230
230
(do
231
231
(on-failed-scan )
Original file line number Diff line number Diff line change 11
11
(if new-account?
12
12
color
13
13
customization-color)))
14
-
15
- (re-frame/reg-sub
16
- :onboarding/syncing-connection-string?
17
- :<- [:onboarding/profile ]
18
- (fn [{:keys [connection-string]}]
19
- (boolean connection-string)))
You can’t perform that action at this time.
0 commit comments