diff --git a/app/src/main/java/net/helcel/beans/helper/Visits.kt b/app/src/main/java/net/helcel/beans/helper/Visits.kt index de370b1..10eb23d 100644 --- a/app/src/main/java/net/helcel/beans/helper/Visits.kt +++ b/app/src/main/java/net/helcel/beans/helper/Visits.kt @@ -12,7 +12,7 @@ import java.io.InputStream class Visits(val id: Int, private val locs: HashMap) { fun setVisited(key: GeoLoc?, b: Int) { - if (b == 0 || key == null) + if (key == null) return locs[key.code] = b }