Fix bugs and issues before first production build
This commit is contained in:
@@ -12,7 +12,6 @@ import MapView, { Marker } from "react-native-maps"
|
||||
import { Icon, Header } from "../ui"
|
||||
import { api } from "../API"
|
||||
import autobind from "autobind-decorator"
|
||||
import pinImage from "./images/pin.png"
|
||||
import { ifIphoneX } from "react-native-iphone-x-helper"
|
||||
import { workItemTypeText, pad } from "../util"
|
||||
|
||||
@@ -107,6 +106,7 @@ export class Home extends React.Component {
|
||||
title="Work Item Map"
|
||||
leftButton={{ icon: "logout", onPress: this.handleLogoutPress }}
|
||||
rightButton={{ icon: "glasses", onPress: this.handleGlassesPress }}
|
||||
disabled
|
||||
/>
|
||||
<MapView
|
||||
ref={(ref) => {
|
||||
@@ -137,7 +137,7 @@ export class Home extends React.Component {
|
||||
workItemTypeText[workItem.workItemType]
|
||||
}
|
||||
description={workItem.address}
|
||||
image={pinImage}
|
||||
image={require("./images/pin.png")}
|
||||
anchor={{ x: 0.5, y: 1.0 }}
|
||||
onPress={(e) => this.handleMarkerPress(e, index)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user