mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-07 03:04:11 +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) {
|
if (currAdapter == null) {
|
||||||
LaunchersAdapter(activity!!, launchers, this) {
|
LaunchersAdapter(activity!!, launchers, this) {
|
||||||
activity?.launchApp((it as AppLauncher).packageName, it.activityName)
|
activity?.launchApp((it as AppLauncher).packageName, it.activityName)
|
||||||
|
if (activity?.config?.closeAppDrawer == true) {
|
||||||
activity?.closeAppDrawer()
|
activity?.closeAppDrawer()
|
||||||
|
}
|
||||||
ignoreTouches = false
|
ignoreTouches = false
|
||||||
touchDownY = -1
|
touchDownY = -1
|
||||||
}.apply {
|
}.apply {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user