Fix incorrect filter blocking onclick of point index 0.
This commit is contained in:
parent
bac441ad4b
commit
19a97d905a
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue