fix: settings item pressability (#19922)
fix: settings item pressability (#19922)
This commit is contained in:
parent
161ba2713f
commit
834bf612ac
|
@ -109,7 +109,7 @@
|
||||||
[{:keys [title on-press action-props accessibility-label blur? container-style] :as props}]
|
[{:keys [title on-press action-props accessibility-label blur? container-style] :as props}]
|
||||||
[rn/pressable
|
[rn/pressable
|
||||||
{:style (merge style/container container-style)
|
{:style (merge style/container container-style)
|
||||||
:on-press on-press
|
:on-press (or on-press (:on-change action-props))
|
||||||
:accessibility-label accessibility-label}
|
:accessibility-label accessibility-label}
|
||||||
[rn/view {:style (style/left-sub-container props)}
|
[rn/view {:style (style/left-sub-container props)}
|
||||||
[image-component props]
|
[image-component props]
|
||||||
|
|
Loading…
Reference in New Issue