Manos Chorianopoulos

fix meters when opening the webview

...@@ -141,7 +141,9 @@ var timer2: DispatchSourceTimer? ...@@ -141,7 +141,9 @@ var timer2: DispatchSourceTimer?
141 print("==== error ====") 141 print("==== error ====")
142 print(error) 142 print(error)
143 143
144 - self.startTimer() 144 + DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
145 + self.startTimer()
146 + }
145 }) 147 })
146 } 148 }
147 149
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> 9 <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10 </dependencies> 10 </dependencies>
11 <objects> 11 <objects>
12 - <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MapsViewController" customModule="swift_example" customModuleProvider="target"> 12 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MapsViewController" customModule="SwiftWarplyFramework" customModuleProvider="target">
13 <connections> 13 <connections>
14 <outlet property="addressView" destination="syP-Hv-OGD" id="LUw-pI-3va"/> 14 <outlet property="addressView" destination="syP-Hv-OGD" id="LUw-pI-3va"/>
15 <outlet property="backgroundImage" destination="tVJ-fk-ani" id="ETq-VL-6q7"/> 15 <outlet property="backgroundImage" destination="tVJ-fk-ani" id="ETq-VL-6q7"/>
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
138 <nil key="textColor"/> 138 <nil key="textColor"/>
139 <nil key="highlightedColor"/> 139 <nil key="highlightedColor"/>
140 </label> 140 </label>
141 - <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" horizontalCompressionResistancePriority="751" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bw3-J9-wHr" userLabel="Directions" customClass="CSMButton" customModule="swift_example" customModuleProvider="target"> 141 + <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" horizontalCompressionResistancePriority="751" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bw3-J9-wHr" userLabel="Directions" customClass="CSMButton" customModule="SwiftWarplyFramework" customModuleProvider="target">
142 <rect key="frame" x="317" y="235" width="67" height="31"/> 142 <rect key="frame" x="317" y="235" width="67" height="31"/>
143 <state key="normal" title="Button"/> 143 <state key="normal" title="Button"/>
144 <buttonConfiguration key="configuration" style="plain" title="Button"/> 144 <buttonConfiguration key="configuration" style="plain" title="Button"/>
......