Skip to content

Commit

Permalink
Fix incorrect filter blocking onclick of point index 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
voussoir committed Mar 29, 2023
1 parent bac441a commit 19a97d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId 'net.voussoir.trkpt'
minSdkVersion 25
targetSdk 32
versionCode 51
versionName '1.0.0'
versionCode 52
versionName '1.0.1'
resConfigs "en", "da", "de", "fr", "hr", "id", "it", "ja", "nb-rNO", "nl", "pl", "pt-rBR", "ru", "sv", "tr", "zh-rCN"
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/net/voussoir/trkpt/TrackFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class TrackFragment : Fragment(), MapListener, YesNoDialog.YesNoDialogListener
track_points_overlay!!.setOnClickListener(object : SimpleFastPointOverlay.OnClickListener {
override fun onClick(points: SimpleFastPointOverlay.PointAdapter?, point: Int?)
{
if (points == null || point == null || point == 0)
if (points == null || point == null)
{
return
}
Expand Down

0 comments on commit 19a97d9

Please sign in to comment.