reloading contact list when selected and unselected

This commit is contained in:
jo-mut 2024-06-28 16:08:37 +02:00
parent 93e75336b7
commit 934a18ffac
No known key found for this signature in database
GPG Key ID: 76AE8CD103294A70
4 changed files with 29 additions and 25 deletions

View File

@ -1,15 +1,15 @@
(ns status-im.contexts.onboarding.enable-notifications.view
(:require
[quo.core :as quo]
[react-native.core :as rn]
[react-native.safe-area :as safe-area]
[status-im.common.resources :as resources]
[status-im.contexts.onboarding.enable-notifications.style :as style]
[status-im.contexts.shell.jump-to.constants :as shell.constants]
[status-im.contexts.shell.jump-to.utils :as shell.utils]
[taoensso.timbre :as log]
[utils.i18n :as i18n]
[utils.re-frame :as rf]))
[quo.core :as quo]
[react-native.core :as rn]
[react-native.safe-area :as safe-area]
[status-im.common.resources :as resources]
[status-im.contexts.onboarding.enable-notifications.style :as style]
[status-im.contexts.shell.jump-to.constants :as shell.constants]
[status-im.contexts.shell.jump-to.utils :as shell.utils]
[taoensso.timbre :as log]
[utils.i18n :as i18n]
[utils.re-frame :as rf]))
(defn page-title
[]

View File

@ -73,7 +73,7 @@
:onboarding/navigated-to-enter-seed-phrase-from-screen
:screen/onboarding.new-to-status)]]
:dispatch-later [{:ms constants/onboarding-generating-keys-animation-duration-ms
:dispatch [:init-root :screen/onboarding.enable-notifications]}]
:dispatch [:onboarding/navigate-to-enable-notifications]}]
:db (-> db
(dissoc :profile/login)
(dissoc :auth-method)

View File

@ -37,15 +37,15 @@
:id :screen/profile.profiles
:options (options/dark-root-options)}}]}}}
:screen/onboarding.enable-notifications
{:root {:stack {:children [{:component {:name :screen/onboarding.enable-notifications
:id :screen/onboarding.enable-notifications
:options (options/dark-root-options)}}]}}}
;; :screen/onboarding.enable-notifications
;; {:root {:stack {:children [{:component {:name :screen/onboarding.enable-notifications
;; :id :screen/onboarding.enable-notifications
;; :options (options/dark-root-options)}}]}}}
:screen/onboarding.welcome
{:root {:stack {:children [{:component {:name :screen/onboarding.welcome
:id :screen/onboarding.welcome
:options (options/dark-root-options)}}]}}}
;; :screen/onboarding.welcome
;; {:root {:stack {:children [{:component {:name :screen/onboarding.welcome
;; :id :screen/onboarding.welcome
;; :options (options/dark-root-options)}}]}}}
:screen/onboarding.syncing-results
{:root {:stack {:children [{:component {:name :screen/onboarding.syncing-results
:id :screen/onboarding.syncing-results

View File

@ -346,11 +346,15 @@
:component enter-seed-phrase/view}
{:name :screen/onboarding.enable-notifications
:options {:theme :dark
:layout options/onboarding-layout
:animations (merge
transitions/new-to-status-modal-animations
transitions/push-animations-for-transparent-background)}
:options {:theme :dark
:layout options/onboarding-transparent-layout
:animations (merge
transitions/new-to-status-modal-animations
transitions/push-animations-for-transparent-background)
:popGesture false
:modalPresentationStyle :overCurrentContext
:hardwareBackButton {:dismissModalOnPress false
:popStackOnPress false}}
:component enable-notifications/view}
{:name :screen/onboarding.identifiers
@ -399,7 +403,7 @@
{:name :screen/onboarding.welcome
:options {:theme :dark
:layout options/onboarding-layout
:layout options/onboarding-transparent-layout
:animations transitions/push-animations-for-transparent-background}
:component welcome/view}