From cd25415e9b24213939adf5cc48067fbcf53e6c03 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 24 Dec 2023 22:18:34 -0800 Subject: [PATCH] Remove unneeded thismapfragment. --- app/src/main/java/net/voussoir/trkpt/MapFragment.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/net/voussoir/trkpt/MapFragment.kt b/app/src/main/java/net/voussoir/trkpt/MapFragment.kt index a176a56..66b37ff 100644 --- a/app/src/main/java/net/voussoir/trkpt/MapFragment.kt +++ b/app/src/main/java/net/voussoir/trkpt/MapFragment.kt @@ -64,7 +64,6 @@ class MapFragment : Fragment() private lateinit var database_changed_listener: DatabaseChangedListener var show_debug: Boolean = false - var thismapfragment: MapFragment? = null lateinit var rootView: View private lateinit var mapView: MapView lateinit var mainButton: ExtendedFloatingActionButton @@ -82,7 +81,6 @@ class MapFragment : Fragment() { Log.i("VOUSSOIR", "MapFragment.onCreate") super.onCreate(savedInstanceState) - thismapfragment = this this.trackbook = (requireContext().applicationContext as Trackbook) database_changed_listener = object: DatabaseChangedListener {