Browse Source

file preview disabled swipe close (#21)

Reviewed-on: #21
Co-authored-by: YaroslavBerkuta <yaroslavberkuta@gmail.com>
Co-committed-by: YaroslavBerkuta <yaroslavberkuta@gmail.com>
pull/22/head
YaroslavBerkuta 9 months ago committed by Vitalik Yatsenko
parent
commit
e78b36cf17
  1. 4
      src/shared/components/modals/preview-file-modal.smart-component.tsx

4
src/shared/components/modals/preview-file-modal.smart-component.tsx

@ -51,9 +51,7 @@ export const PreviewFileModal = () => { @@ -51,9 +51,7 @@ export const PreviewFileModal = () => {
backdropOpacity={1}
animationOutTiming={1}
style={styles.modal}
backdropTransitionOutTiming={1}
swipeDirection="down"
onSwipeComplete={close}>
backdropTransitionOutTiming={1}>
<TouchableOpacity onPress={close} style={styles.closeBtn}>
<IconComponent
name="xcircle-1"

Loading…
Cancel
Save