2019-11-02 15:44:19 +01:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import * as React from 'react';
|
|
|
|
import ThemeManager from "../utils/ThemeManager";
|
|
|
|
import WebViewScreen from "../components/WebViewScreen";
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
navigation: Object,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const URL = 'https://www.etud.insa-toulouse.fr/~amicale';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class defining the app's planex screen.
|
|
|
|
* This screen uses a webview to render the planex page
|
|
|
|
*/
|
|
|
|
export default class AmicaleScreen extends React.Component<Props> {
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const nav = this.props.navigation;
|
|
|
|
return (
|
|
|
|
<WebViewScreen
|
|
|
|
navigation={nav}
|
2019-11-08 02:37:38 +01:00
|
|
|
data={[
|
|
|
|
{
|
|
|
|
url: URL,
|
|
|
|
icon: '',
|
|
|
|
name: '',
|
|
|
|
customJS: ''
|
|
|
|
},
|
|
|
|
]}
|
2019-11-02 15:44:19 +01:00
|
|
|
headerTitle={'Amicale'}
|
|
|
|
hasHeaderBackButton={true}
|
|
|
|
hasSideMenu={false}/>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|