| 
				
			 | 
			
			
				@@ -1,6 +1,14 @@ 
			 | 
		
	
		
			
			| 
				1
			 | 
			
				1
			 | 
			
			
				 // @flow 
			 | 
		
	
		
			
			| 
				2
			 | 
			
				2
			 | 
			
			
				 import React, { Component, Fragment } from 'react'; 
			 | 
		
	
		
			
			| 
				3
			 | 
			
				
			 | 
			
			
				-import { SafeAreaView, StatusBar, View, Text, TouchableOpacity, StyleSheet } from 'react-native'; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				3
			 | 
			
			
				+import { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				4
			 | 
			
			
				+  SafeAreaView, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				5
			 | 
			
			
				+  StatusBar, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				6
			 | 
			
			
				+  View, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				7
			 | 
			
			
				+  Text, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8
			 | 
			
			
				+  TouchableOpacity, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				9
			 | 
			
			
				+  StyleSheet, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				10
			 | 
			
			
				+  ScrollView, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				11
			 | 
			
			
				+} from 'react-native'; 
			 | 
		
	
		
			
			| 
				4
			 | 
			
				12
			 | 
			
			
				 import { createAppContainer } from 'react-navigation'; 
			 | 
		
	
		
			
			| 
				5
			 | 
			
				13
			 | 
			
			
				 import { createStackNavigator } from 'react-navigation-stack'; 
			 | 
		
	
		
			
			| 
				6
			 | 
			
				14
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -20,6 +28,7 @@ import ARTScreen from './ART'; 
			 | 
		
	
		
			
			| 
				20
			 | 
			
				28
			 | 
			
			
				 import FSScreen from './FS'; 
			 | 
		
	
		
			
			| 
				21
			 | 
			
				29
			 | 
			
			
				 import ModalScreen from './Modal'; 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				30
			 | 
			
			
				 import OffscreenScreen from './Offscreen'; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				31
			 | 
			
			
				+import ElevationScreen from './Elevation'; 
			 | 
		
	
		
			
			| 
				23
			 | 
			
				32
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				24
			 | 
			
				33
			 | 
			
			
				 const screens = { 
			 | 
		
	
		
			
			| 
				25
			 | 
			
				34
			 | 
			
			
				   Full: { 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -64,6 +73,9 @@ const screens = { 
			 | 
		
	
		
			
			| 
				64
			 | 
			
				73
			 | 
			
			
				   Offscreen: { 
			 | 
		
	
		
			
			| 
				65
			 | 
			
				74
			 | 
			
			
				     screen: OffscreenScreen, 
			 | 
		
	
		
			
			| 
				66
			 | 
			
				75
			 | 
			
			
				   }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				76
			 | 
			
			
				+  Elevation: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				77
			 | 
			
			
				+    screen: ElevationScreen, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				78
			 | 
			
			
				+  }, 
			 | 
		
	
		
			
			| 
				67
			 | 
			
				79
			 | 
			
			
				 }; 
			 | 
		
	
		
			
			| 
				68
			 | 
			
				80
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				69
			 | 
			
				81
			 | 
			
			
				 /////////////////////////////////////////////////// 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -78,17 +90,19 @@ class HomeScreen extends Component { 
			 | 
		
	
		
			
			| 
				78
			 | 
			
				90
			 | 
			
			
				       <Fragment> 
			 | 
		
	
		
			
			| 
				79
			 | 
			
				91
			 | 
			
			
				         <StatusBar barStyle="dark-content" /> 
			 | 
		
	
		
			
			| 
				80
			 | 
			
				92
			 | 
			
			
				         <SafeAreaView> 
			 | 
		
	
		
			
			| 
				81
			 | 
			
				
			 | 
			
			
				-          {Object.keys(screens).map(key => ( 
			 | 
		
	
		
			
			| 
				82
			 | 
			
				
			 | 
			
			
				-            <TouchableOpacity key={key} onPress={() => navigation.navigate(key)}> 
			 | 
		
	
		
			
			| 
				83
			 | 
			
				
			 | 
			
			
				-              <View style={styles.entry}> 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				
			 | 
			
			
				-                <Text style={styles.entryText}> 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				
			 | 
			
			
				-                  {(screens[key].screen.navigationOptions && 
			 | 
		
	
		
			
			| 
				86
			 | 
			
				
			 | 
			
			
				-                    screens[key].screen.navigationOptions.title) || 
			 | 
		
	
		
			
			| 
				87
			 | 
			
				
			 | 
			
			
				-                    key} 
			 | 
		
	
		
			
			| 
				88
			 | 
			
				
			 | 
			
			
				-                </Text> 
			 | 
		
	
		
			
			| 
				89
			 | 
			
				
			 | 
			
			
				-              </View> 
			 | 
		
	
		
			
			| 
				90
			 | 
			
				
			 | 
			
			
				-            </TouchableOpacity> 
			 | 
		
	
		
			
			| 
				91
			 | 
			
				
			 | 
			
			
				-          ))} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				93
			 | 
			
			
				+          <ScrollView> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				94
			 | 
			
			
				+            {Object.keys(screens).map(key => ( 
			 | 
		
	
		
			
			| 
				
			 | 
			
				95
			 | 
			
			
				+              <TouchableOpacity key={key} onPress={() => navigation.navigate(key)}> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				96
			 | 
			
			
				+                <View style={styles.entry}> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				97
			 | 
			
			
				+                  <Text style={styles.entryText}> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+                    {(screens[key].screen.navigationOptions && 
			 | 
		
	
		
			
			| 
				
			 | 
			
				99
			 | 
			
			
				+                      screens[key].screen.navigationOptions.title) || 
			 | 
		
	
		
			
			| 
				
			 | 
			
				100
			 | 
			
			
				+                      key} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				101
			 | 
			
			
				+                  </Text> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				102
			 | 
			
			
				+                </View> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				103
			 | 
			
			
				+              </TouchableOpacity> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				104
			 | 
			
			
				+            ))} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				105
			 | 
			
			
				+          </ScrollView> 
			 | 
		
	
		
			
			| 
				92
			 | 
			
				106
			 | 
			
			
				         </SafeAreaView> 
			 | 
		
	
		
			
			| 
				93
			 | 
			
				107
			 | 
			
			
				       </Fragment> 
			 | 
		
	
		
			
			| 
				94
			 | 
			
				108
			 | 
			
			
				     ); 
			 |