Fix incorrect filter blocking onclick of point index 0.

master
voussoir 2023-03-28 22:07:12 -07:00
parent bac441ad4b
commit 19a97d905a
2 changed files with 3 additions and 3 deletions

View File

@ -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"
}

View File

@ -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
}