Open Settings if no LongClickApp is specified

This commit is contained in:
Finn M Glas 2020-05-29 18:26:46 +02:00
parent 80e8c57930
commit b7f6db71e3
No known key found for this signature in database
GPG key ID: 25037A2E81AB459C

View file

@ -176,7 +176,8 @@ class MainActivity : AppCompatActivity(),
}
override fun onLongPress(event: MotionEvent) {
launchApp(longClickApp, this)
if(longClickApp != "") launchApp(longClickApp, this)
else openSettings()
}
override fun onDoubleTap(event: MotionEvent): Boolean {