Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
fix: Heat map empty list exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Feb 28, 2018
1 parent 0b9822c commit 74ce6f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="science.apolline"
android:versionCode="8"
android:versionName="2.2.0">
android:versionCode="9"
android:versionName="2.2.1">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,9 @@ class MapFragment : RootFragment(), FragmentLifecycle, OnMapReadyCallback, AnkoL

uiThread {
info("Size of list after: " + geo.size)
addHeatMap(geo)
if(geo.isNotEmpty()){
addHeatMap(geo)
}
}

} else {
Expand Down

0 comments on commit 74ce6f1

Please sign in to comment.