Skip to content

Commit

Permalink
fixing issue Jacse#238
Browse files Browse the repository at this point in the history
  • Loading branch information
hkar19 committed Apr 5, 2021
1 parent 0699c76 commit b39c9f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
GestureResponderEvent,
LayoutChangeEvent,
ListRenderItemInfo,
Dimensions,
} from 'react-native';
import mergeExtraData from './merge-extradata';

Expand Down Expand Up @@ -77,8 +78,8 @@ export default class AppIntroSlider<ItemT = any> extends React.Component<
bottomButton: false,
};
state = {
width: 0,
height: 0,
width: Dimensions.get('screen').width,
height: Dimensions.get('screen').height,
activeIndex: 0,
};
flatList: FlatList<ItemT> | undefined;
Expand Down

0 comments on commit b39c9f3

Please sign in to comment.