restore the last view before entering background only on android in prod configuration
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
7dbc8a7f39
commit
f11b3cc670
|
@ -321,6 +321,7 @@
|
|||
(navigation/set-navigator-ref r)
|
||||
(when (and
|
||||
platform/android?
|
||||
(not js/goog.DEBUG)
|
||||
(not (contains? #{:intro :login} @view-id)))
|
||||
(navigation/navigate-to @view-id)))
|
||||
;; see https://reactnavigation.org/docs/en/state-persistence.html#development-mode
|
||||
|
|
Loading…
Reference in New Issue