mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 14:31:30 +01:00
Open Settings if no LongClickApp is specified
This commit is contained in:
parent
80e8c57930
commit
b7f6db71e3
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ class MainActivity : AppCompatActivity(),
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onLongPress(event: MotionEvent) {
|
override fun onLongPress(event: MotionEvent) {
|
||||||
launchApp(longClickApp, this)
|
if(longClickApp != "") launchApp(longClickApp, this)
|
||||||
|
else openSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDoubleTap(event: MotionEvent): Boolean {
|
override fun onDoubleTap(event: MotionEvent): Boolean {
|
||||||
|
|
Loading…
Add table
Reference in a new issue