Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed May 10, 2024
1 parent b30d168 commit a2cd9c4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* CelestiaInteraction.kt
*
* Copyright (C) 2001-2020, Celestia Development Team
* Copyright (C) 2024-present, Celestia Development Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
Expand All @@ -20,7 +20,6 @@ import android.os.Build
import android.util.Log
import android.view.*
import androidx.annotation.RequiresApi
import androidx.core.view.GestureDetectorCompat
import space.celestia.celestia.AppCore
import space.celestia.mobilecelestia.common.CelestiaExecutor
import space.celestia.mobilecelestia.utils.PreferenceManager
Expand Down Expand Up @@ -65,7 +64,7 @@ class CelestiaInteraction(context: Context, private val appCore: AppCore, privat
}

private val scaleGestureDetector = ScaleGestureDetector(context, this)
private val gestureDetector = GestureDetectorCompat(context, this)
private val gestureDetector = GestureDetector(context, this)
var pointerCaptureListener: Any? = null

var isReady = false
Expand Down

0 comments on commit a2cd9c4

Please sign in to comment.