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

Commit 5ade4db7 authored by Chandru S's avatar Chandru S Committed by Android (Google) Code Review
Browse files

Merge "Fix icon resource loading issue for user switcher" into main

parents 1ab80dd0 1868ad36
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -175,8 +175,10 @@ constructor(
                            actions.map { action ->
                                UserSwitcherDropdownItemViewModel(
                                    icon =
                                        Icon.Resource(
                                            action.iconResourceId,
                                        Icon.Loaded(
                                            applicationContext.resources.getDrawable(
                                                action.iconResourceId
                                            ),
                                            contentDescription = null,
                                        ),
                                    text = Text.Resource(action.textResourceId),