Skip to content

Commit

Permalink
updated breaking changes of modalize
Browse files Browse the repository at this point in the history
  • Loading branch information
karanpratapsingh committed Mar 8, 2020
1 parent be822c7 commit 5241775
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/layout/shared/ConnectionsBottomSheet.tsx
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { responsiveHeight, responsiveWidth } from 'react-native-responsive-dimensions';
import { FlatGrid } from 'react-native-super-grid';
import BottomSheetHeader from '../headers/BottomSheetHeader';
Expand Down
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { StyleSheet, View, Text } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { AppContext } from '@app/context';
import { BottomSheetHeader } from '@app/layout';
import { Typography } from '@app/theme';
Expand Down
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { responsiveHeight, responsiveWidth } from 'react-native-responsive-dimensions';
import { FlatGrid } from 'react-native-super-grid';
import EmptyConnectionsBanner from '@app/../assets/svg/empty-connections.svg';
Expand Down
Expand Up @@ -18,7 +18,7 @@ interface NotificationCardPros {
avatar: string,
handle: string,
resourceId: string,
type: any, // FIXME:
type: keyof typeof NotificationType,
time: string
};

Expand Down
@@ -1,7 +1,7 @@
import { useMutation } from '@apollo/react-hooks';
import React, { useContext, useRef, useState } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import Feather from 'react-native-vector-icons/Feather';
import { Errors, IconSizes } from '@app/constants';
import { AppContext } from '@app/context';
Expand Down
2 changes: 1 addition & 1 deletion app/screens/PostViewScreen/components/LikesBottomSheet.tsx
@@ -1,7 +1,7 @@
import { useQuery } from '@apollo/react-hooks';
import React, { useContext } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { responsiveHeight, responsiveWidth } from 'react-native-responsive-dimensions';
import { FlatGrid } from 'react-native-super-grid';
import EmptyLikesBanner from '@app/assets/svg/empty-likes.svg';
Expand Down
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { AppContext } from '@app/context';
import { BottomSheetHeader, Option } from '@app/layout';
import { ThemeColors } from '@app/types/theme';
Expand Down
2 changes: 1 addition & 1 deletion app/screens/ProfileScreen/components/AboutBottomSheet.tsx
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { Image, Linking, StyleSheet, Text, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { responsiveHeight } from 'react-native-responsive-dimensions';
import AntDesign from 'react-native-vector-icons/AntDesign';
import ProximityLogo from '@app/assets/images/proximity-logo.png';
Expand Down
Expand Up @@ -2,7 +2,7 @@ import { useMutation, useQuery } from '@apollo/react-hooks';
import React, { useContext, useRef } from 'react';
import { StyleSheet, View } from 'react-native';
import Swipeable from 'react-native-gesture-handler/Swipeable';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { responsiveHeight, responsiveWidth } from 'react-native-responsive-dimensions';
import { FlatGrid } from 'react-native-super-grid';
import EmptyBlockListBanner from '@app/assets/svg/empty-blocklist.svg';
Expand Down
@@ -1,7 +1,7 @@
import { useLazyQuery, useMutation } from '@apollo/react-hooks';
import React, { useContext, useEffect, useState } from 'react';
import { ImageBackground, StyleSheet, TouchableOpacity, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
import { IconSizes, Asset, Errors } from '@app/constants';
import { AppContext } from '@app/context';
Expand Down
@@ -1,6 +1,6 @@
import React, { useContext, useEffect, useState } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import Checkbox from 'react-native-modest-checkbox';
import { responsiveWidth } from 'react-native-responsive-dimensions';
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
Expand Down
@@ -1,6 +1,6 @@
import React, { useContext } from 'react';
import { StyleSheet, View } from 'react-native';
import Modalize from 'react-native-modalize';
import { Modalize } from 'react-native-modalize';
import { AppContext } from '@app/context';
import { BottomSheetHeader, Option } from '@app/layout';
import { ThemeStatic } from '@app/theme';
Expand Down

0 comments on commit 5241775

Please sign in to comment.