Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33a13b7f authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

set default longClickListener to null

parent 6f402040
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ import androidx.preference.PreferenceViewHolder
 */
class LongPressPreference : Preference {

    private var longClickListener: View.OnLongClickListener = View.OnLongClickListener { true }
    private var longClickListener: View.OnLongClickListener? = null

    constructor(context: Context, attrs: AttributeSet, defStyle: Int) : super(
        context,