fix: settings item pressability (#19922)

fix: settings item pressability (#19922)
This commit is contained in:
Omar Basem 2024-05-08 10:42:15 +04:00 committed by GitHub
parent 161ba2713f
commit 834bf612ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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]