Skip to content

Commit

Permalink
- fix: incorrect deserialization of HotSpot class
Browse files Browse the repository at this point in the history
  • Loading branch information
menion committed Oct 3, 2024
1 parent 2a63170 commit 63ae530
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 84 deletions.
21 changes: 0 additions & 21 deletions .idea/gradle.xml

This file was deleted.

56 changes: 0 additions & 56 deletions .idea/misc.xml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.9.61] - 2024-10-03
### Fixed
- incorrectly deserialized custom `HotSpot`

## [0.9.60] - 2024-09-19
### Changed
- rename of `HotSpot` object (from `KmlVec2`) & optimization in it's usage
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Library for [Locus Map](https://www.locusmap.app) application for Android device

## Current version

Latest stable LT version: **0.9.60**
Latest stable LT version: **0.9.61**
Available versions on the maven repository: [here](https://repo1.maven.org/maven2/com/asamm/).

How to **update to new 0.9.x** version? More about it [here](https://github.com/asamm/locus-api/wiki/Update-to-version-0.9.0).
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ GRADLE_NEXUS_STAGING = 0.30.0
LOCUS_LOGGER = 2.2

# Version
API_CODE = 107
API_VERSION = 0.9.60
API_CODE = 108
API_VERSION = 0.9.61

# ANDROID SUPPORT LIBS
# https://developer.android.com/topic/libraries/support-library/revisions.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ data class HotSpot(

// return custom hotStop
return HotSpot(
x = dr.readDouble(),
xUnits = Units.values()[dr.readInt()],
y = dr.readDouble(),
yUnits = Units.values()[dr.readInt()]
x = x,
xUnits = xUnits,
y = y,
yUnits = yUnits
)
}

Expand Down

0 comments on commit 63ae530

Please sign in to comment.