Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb6424e7 authored by Anton Potapov's avatar Anton Potapov Committed by Automerger Merge Worker
Browse files

Merge "Improve items arrangement in the app switcher popup" into tm-qpr-dev am: 050627e4

parents d115bbaa 050627e4
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -546,8 +546,12 @@ class ControlsUiControllerImpl @Inject constructor (
            RenderInfo.registerComponentIcon(it.componentName, it.icon)
        }

        var adapter = ItemAdapter(context, R.layout.controls_spinner_item).apply {
            addAll(items)
        val adapter = ItemAdapter(context, R.layout.controls_spinner_item).apply {
            add(selected)
            addAll(items
                    .filter { it !== selected }
                    .sortedBy { it.appName.toString() }
            )
        }

        val iconSize = context.resources