Browse Source

Fixing header name in FloodZones screen

master
GabrielTrettel 3 years ago
parent
commit
b466e5fd09
  1. 9
      src/app/navigation/SharingDataOptionsNavigator.js

9
src/app/navigation/SharingDataOptionsNavigator.js

@ -1,16 +1,11 @@
import React from 'react'; import React from 'react';
import { createStackNavigator } from "@react-navigation/stack"; import { createStackNavigator } from "@react-navigation/stack";
import RainSharingDataScreen from '../screens/RainSharingDataScreen'; import RainSharingDataScreen from '../screens/RainSharingDataScreen';
import RiverFloodSharingDataScreen from '../screens/RiverFloodSharingDataScreen'; import RiverFloodSharingDataScreen from '../screens/RiverFloodSharingDataScreen';
import SharingFloodZonesScreen from '../screens/SharingFloodZonesScreen'; import SharingFloodZonesScreen from '../screens/SharingFloodZonesScreen';
import PluviometerSharingDataScreen from '../screens/PluviometerSharingDataScreen'; import PluviometerSharingDataScreen from '../screens/PluviometerSharingDataScreen';
import SharingDataNavigator from './SharingDataNavigator'; import SharingDataNavigator from './SharingDataNavigator';
import MapFormScreen from '../screens/MapFormScreen'; import MapFormScreen from '../screens/MapFormScreen';
import { CommonActions } from '@react-navigation/native';
const Stack = createStackNavigator(); const Stack = createStackNavigator();
@ -38,7 +33,7 @@ function SharingDataOptionsNavigator() {
name="FloodSharingData" name="FloodSharingData"
component={SharingFloodZonesScreen} component={SharingFloodZonesScreen}
options={{ options={{
title: "Ponto de alagamento",
title: "Área de alagamento",
headerStyle: { headerStyle: {
backgroundColor: "white", backgroundColor: "white",
}, },
@ -77,4 +72,4 @@ function SharingDataOptionsNavigator() {
</Stack.Navigator> </Stack.Navigator>
); );
} }
export default SharingDataOptionsNavigator;
export default SharingDataOptionsNavigator;
Loading…
Cancel
Save