mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-01-30 15:35:07 +01:00
Check for closeAppDrawer
config before closing it
This commit is contained in:
parent
fd46c078fb
commit
5b318a4f59
@ -120,7 +120,9 @@ class AllAppsFragment(context: Context, attributeSet: AttributeSet) : MyFragment
|
||||
if (currAdapter == null) {
|
||||
LaunchersAdapter(activity!!, launchers, this) {
|
||||
activity?.launchApp((it as AppLauncher).packageName, it.activityName)
|
||||
activity?.closeAppDrawer()
|
||||
if (activity?.config?.closeAppDrawer == true) {
|
||||
activity?.closeAppDrawer()
|
||||
}
|
||||
ignoreTouches = false
|
||||
touchDownY = -1
|
||||
}.apply {
|
||||
|
Loading…
x
Reference in New Issue
Block a user