Debug mode fix: photo selector (#16146)
* Debug mode fix: photo selector
This commit is contained in:
parent
ba2f037f48
commit
8407cd66d1
|
@ -87,8 +87,12 @@
|
||||||
:orientation ["portrait"]
|
:orientation ["portrait"]
|
||||||
:backgroundColor :transparent}
|
:backgroundColor :transparent}
|
||||||
:modalPresentationStyle :overCurrentContext
|
:modalPresentationStyle :overCurrentContext
|
||||||
:animations {:showModal {:alpha {:from 1 :to 1 :duration 300}}
|
;; disabled on iOS in debug mode:
|
||||||
:dismissModal {:alpha {:from 1 :to 1 :duration 300}}}})
|
;; https://github.com/status-im/status-mobile/pull/16053#issuecomment-1568349702
|
||||||
|
:animations (if (or platform/android? (not js/goog.DEBUG))
|
||||||
|
{:showModal {:alpha {:from 1 :to 1 :duration 300}}
|
||||||
|
:dismissModal {:alpha {:from 1 :to 1 :duration 300}}}
|
||||||
|
{})})
|
||||||
|
|
||||||
(def dark-screen
|
(def dark-screen
|
||||||
(merge (statusbar true)
|
(merge (statusbar true)
|
||||||
|
|
Loading…
Reference in New Issue