mirror of
https://github.com/status-im/status-react.git
synced 2025-02-02 06:07:33 +00:00
show notifications and welcome screen for keycard
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
parent
72df44da6c
commit
f770045f89
@ -193,10 +193,7 @@
|
||||
:chat-key whisper-private-key}
|
||||
encryption-public-key
|
||||
{})
|
||||
(if (= flow :import)
|
||||
(navigation/navigate-replace :keycard-recovery-success nil)
|
||||
(navigation/navigate-to-cofx (if platform/android?
|
||||
:notifications-settings :welcome) nil))))))
|
||||
(navigation/navigate-to-cofx :notifications-onboarding nil)))))
|
||||
|
||||
(fx/defn return-to-keycard-login
|
||||
[{:keys [db] :as cofx}]
|
||||
|
@ -140,13 +140,7 @@
|
||||
|
||||
(fx/defn finish-keycard-setup
|
||||
[{:keys [db] :as cofx}]
|
||||
(let [flow (get-in db [:keycard :flow])]
|
||||
(when flow
|
||||
(fx/merge cofx
|
||||
{:db (update db :keycard dissoc :flow)}
|
||||
(if (= :import flow)
|
||||
(navigation/navigate-to-cofx :intro-stack {:screen :keycard-recovery-success})
|
||||
(navigation/navigate-to-cofx :notifications-onboarding nil))))))
|
||||
{:db (update db :keycard dissoc :flow)})
|
||||
|
||||
(fx/defn initialize-dapp-permissions
|
||||
{:events [::initialize-dapp-permissions]}
|
||||
|
@ -275,6 +275,8 @@ class TestCreateAccount(SingleDeviceTestCase):
|
||||
keycard_view.pair_code_input.set_value(pair_code)
|
||||
sign_in.pair_to_this_device_button.click()
|
||||
keycard_view.enter_default_pin()
|
||||
sign_in.maybe_later_button.click_until_presence_of_element(sign_in.lets_go_button)
|
||||
sign_in.lets_go_button.click_until_absense_of_element(sign_in.lets_go_button)
|
||||
sign_in.home_button.wait_for_visibility_of_element(30)
|
||||
|
||||
sign_in.just_fyi('Check assets after pairing keycard for recovered multiaccount')
|
||||
|
Loading…
x
Reference in New Issue
Block a user