Skip to content

Commit

Permalink
moved and renamed some files
Browse files Browse the repository at this point in the history
  • Loading branch information
JediWattson committed Oct 26, 2022
1 parent 7a7ae20 commit fad847f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {Component} from 'react';
import {PanResponder, Dimensions, Animated} from 'react-native';
import PropTypes from 'prop-types';

import styles from '../../styles/styles';
import styles from '../../../styles/styles';

const propTypes = {
children: PropTypes.element.isRequired,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ import {View} from 'react-native';
import PropTypes from 'prop-types';
import {withOnyx} from 'react-native-onyx';
import _ from 'lodash';
import * as Expensicons from './Icon/Expensicons';
import styles from '../styles/styles';
import themeColors from '../styles/themes/default';
import Button from './Button';
import AttachmentView from './AttachmentView';
import Carousel from './Carousel';
import addEncryptedAuthTokenToURL from '../libs/addEncryptedAuthTokenToURL';
import reportActionPropTypes from '../pages/home/report/reportActionPropTypes';
import canUseTouchScreen from '../libs/canUseTouchscreen';
import CONFIG from '../CONFIG';
import CONST from '../CONST';
import ONYXKEYS from '../ONYXKEYS';
import * as Expensicons from '../Icon/Expensicons';
import styles from '../../styles/styles';
import themeColors from '../../styles/themes/default';
import CarouselActions from './CarouselActions';
import Button from '../Button';
import AttachmentView from '../AttachmentView';
import addEncryptedAuthTokenToURL from '../../libs/addEncryptedAuthTokenToURL';
import reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';
import canUseTouchScreen from '../../libs/canUseTouchscreen';
import CONFIG from '../../CONFIG';
import CONST from '../../CONST';
import ONYXKEYS from '../../ONYXKEYS';

const propTypes = {
/** sourceUrl is used to determine the starting index in the array of attachments */
Expand Down Expand Up @@ -173,15 +173,15 @@ class AttachmentCarousel extends React.Component {
</>
)}

<Carousel
<CarouselActions
styles={[styles.attachmentModalArrowsContainer]}
canSwipeLeft={!this.state.isBackDisabled}
canSwipeRight={!this.state.isForwardDisabled}
onPress={() => this.canUseTouchScreen && this.onShowArrow(!this.state.showArrows)}
onCycleThroughAttachments={this.cycleThroughAttachments}
>
<AttachmentView onPress={() => this.onShowArrow(!this.state.showArrows)} sourceURL={this.state.sourceURL} file={this.state.file} />
</Carousel>
</CarouselActions>

</View>

Expand Down

0 comments on commit fad847f

Please sign in to comment.