mirror of
https://github.com/jrpie/Launcher.git
synced 2025-06-07 17:59:54 +02:00
Refactor getAppWidgetProviders to use explicit lambda parameter names for clarity
This commit is contained in:
parent
8e53ef0ebe
commit
39164d2e54
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ fun getAppWidgetProviders( context: Context ): List<LauncherWidgetProvider> {
|
|||
(context.getSystemService(Service.USER_SERVICE) as UserManager).userProfiles
|
||||
}
|
||||
list.addAll(
|
||||
profiles.map {
|
||||
profiles.map { it ->
|
||||
appWidgetManager.getInstalledProvidersForProfile(it)
|
||||
.map { LauncherAppWidgetProvider(it) }
|
||||
}.flatten()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue