Browse Source

updating pluviometer image at 'SharingDataScreen

master
analuizaff 3 years ago
parent
commit
b6c7af0348
  1. 3
      src/app/config/assets.js
  2. 2
      src/app/screens/SharingDataScreen.js

3
src/app/config/assets.js

@ -1,4 +1,6 @@
import Pluviometer from "../assets/pluviometer/pluviometer-logo.svg"; import Pluviometer from "../assets/pluviometer/pluviometer-logo.svg";
import PluviometerSharingData from "../assets/pluviometer/pluviometricDataIcon.svg";
import OfficialPluviometer from "../assets/pluviometer/PluviometroOficial.svg"; import OfficialPluviometer from "../assets/pluviometer/PluviometroOficial.svg";
import SusceptibilityAreas from "../assets/dataMenu/suceptibilitiesAreas.svg"; import SusceptibilityAreas from "../assets/dataMenu/suceptibilitiesAreas.svg";
import RainIcon from "../assets/rain/rain-icon.svg"; import RainIcon from "../assets/rain/rain-icon.svg";
@ -105,6 +107,7 @@ export default {
officialPluviometer: require("../assets/pluviometer/pluviometroOficial.png"), officialPluviometer: require("../assets/pluviometer/pluviometroOficial.png"),
officialPluviometer_pin: PinPluviometerOfficial, officialPluviometer_pin: PinPluviometerOfficial,
PluviometerIcon: Pluviometer, PluviometerIcon: Pluviometer,
PluviometricDataIcon: PluviometerSharingData,
OfficialPluviometer: OfficialPluviometer, OfficialPluviometer: OfficialPluviometer,
AppLogoTitle: AppLogoTitle, AppLogoTitle: AppLogoTitle,
SusceptibilityAreas: SusceptibilityAreas, SusceptibilityAreas: SusceptibilityAreas,

2
src/app/screens/SharingDataScreen.js

@ -65,7 +65,7 @@ function SharingDataScreen({ navigation }) {
style={{ marginRight: 24 }} style={{ marginRight: 24 }}
label={"DIÁRIO DO\nPLUVIÔMETRO"} label={"DIÁRIO DO\nPLUVIÔMETRO"}
onPress={() => navigation.navigate("PluviometerSharingData", { user: currentUser })} onPress={() => navigation.navigate("PluviometerSharingData", { user: currentUser })}
SvgImage={assets.PluviometerIcon}
SvgImage={assets.PluviometricDataIcon}
active={isRegistered} active={isRegistered}
inactiveOnPress={() => setShowLog(true)} inactiveOnPress={() => setShowLog(true)}
/> />

Loading…
Cancel
Save