|
@@ -5,13 +5,12 @@ import {View} from 'react-native';
|
5
|
5
|
import i18n from "i18n-js";
|
6
|
6
|
import DashboardItem from "../components/Home/EventDashboardItem";
|
7
|
7
|
import WebSectionList from "../components/Lists/WebSectionList";
|
8
|
|
-import {Portal, Text, withTheme} from 'react-native-paper';
|
|
8
|
+import {Text, withTheme} from 'react-native-paper';
|
9
|
9
|
import FeedItem from "../components/Home/FeedItem";
|
10
|
10
|
import SquareDashboardItem from "../components/Home/SquareDashboardItem";
|
11
|
11
|
import PreviewEventDashboardItem from "../components/Home/PreviewEventDashboardItem";
|
12
|
12
|
import {stringToDate} from "../utils/Planning";
|
13
|
13
|
import {openBrowser} from "../utils/WebBrowser";
|
14
|
|
-import ImageView from "react-native-image-viewing";
|
15
|
14
|
// import DATA from "../dashboard_data.json";
|
16
|
15
|
|
17
|
16
|
|
|
@@ -470,15 +469,6 @@ class HomeScreen extends React.Component<Props, State> {
|
470
|
469
|
refreshOnFocus={true}
|
471
|
470
|
fetchUrl={DATA_URL}
|
472
|
471
|
renderItem={this.getRenderItem}/>
|
473
|
|
- <Portal>
|
474
|
|
- <ImageView
|
475
|
|
- images={this.state.imageList}
|
476
|
|
- imageIndex={0}
|
477
|
|
- presentationStyle={"fullScreen"}
|
478
|
|
- visible={this.state.imageModalVisible}
|
479
|
|
- onRequestClose={this.hideImageModal}
|
480
|
|
- />
|
481
|
|
- </Portal>
|
482
|
472
|
</View>
|
483
|
473
|
|
484
|
474
|
);
|