diff --git a/ios/BluecherryDvr.xcodeproj/project.pbxproj b/ios/BluecherryDvr.xcodeproj/project.pbxproj index 8473984..c175955 100644 --- a/ios/BluecherryDvr.xcodeproj/project.pbxproj +++ b/ios/BluecherryDvr.xcodeproj/project.pbxproj @@ -805,6 +805,7 @@ CODE_SIGN_ENTITLEMENTS = BluecherryDvr/BluecherryDvr.entitlements; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 642TR6YWHA; + ENABLE_BITCODE = NO; INFOPLIST_FILE = BluecherryDvr/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; diff --git a/screens/CameraScreen.js b/screens/CameraScreen.js index d9664cf..a690ac0 100644 --- a/screens/CameraScreen.js +++ b/screens/CameraScreen.js @@ -1,6 +1,6 @@ import React, {useEffect, useState, useCallback, useContext} from 'react'; -import {View, Text, TouchableOpacity, FlatList, ActivityIndicator} from 'react-native'; +import {View, Text, TouchableOpacity, FlatList, ActivityIndicator, SafeAreaView} from 'react-native'; import Icon from 'react-native-vector-icons/MaterialIcons'; import SplashScreen from 'react-native-splash-screen'; @@ -191,19 +191,19 @@ function SetCameraScreen({route: {params: {index, type}}, navigation}) { }, []); - return + return {loading ? : '' + id} renderItem={({item: {id, device_name}}) => onSelectCamera(id)}> #{id} - {device_name}} />} - ; + ; } function ShowCameraScreen({navigation}) { const {state} = useContext(SessionContext); - return + return '' + id} renderItem={({item: {id, device_name}}) => { @@ -212,7 +212,7 @@ function ShowCameraScreen({navigation}) { }) }}> #{id} - {device_name}} /> - ; + ; } export function CameraScreen() { diff --git a/screens/EventScreen.js b/screens/EventScreen.js index 8233d85..ac779d1 100644 --- a/screens/EventScreen.js +++ b/screens/EventScreen.js @@ -1,6 +1,6 @@ import React, {useEffect, useState, useCallback, useContext, useRef} from 'react'; -import {View, Text, FlatList, TouchableOpacity} from 'react-native'; +import {View, Text, FlatList, TouchableOpacity, SafeAreaView} from 'react-native'; import { createStackNavigator } from '@react-navigation/stack'; import {getEvents} from '../lib/api'; @@ -67,7 +67,7 @@ function EventList({navigation}) { onRefresh(); }, []); - return ( + return ( {lastUpdate && ( Last Update:{lastUpdate} )} @@ -79,7 +79,7 @@ function EventList({navigation}) { renderItem={({item}) => ( navigation.navigate('EventVideoPlayer', {eventId: item.content})}> )}/> - ); + ); } function EventVideoPlayer({route: {params: {eventId}}, navigation}) { @@ -109,4 +109,4 @@ export default function EventScreen() { ); -} \ No newline at end of file +}