mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-27 16:57:37 +01:00
use the app package name at sorting widgets too
This commit is contained in:
parent
5d3a886fd1
commit
71c4c96ad1
@ -120,7 +120,7 @@ class WidgetsFragment(context: Context, attributeSet: AttributeSet) : MyFragment
|
||||
appWidgets.add(widget)
|
||||
}
|
||||
|
||||
appWidgets = appWidgets.sortedWith(compareBy({ it.appTitle }, { it.widgetTitle })).toMutableList() as ArrayList<AppWidget>
|
||||
appWidgets = appWidgets.sortedWith(compareBy({ it.appTitle }, { it.appPackageName }, { it.widgetTitle })).toMutableList() as ArrayList<AppWidget>
|
||||
splitWidgetsByApps(appWidgets)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user