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

Commit e5a86aaf authored by Helen Qin's avatar Helen Qin Committed by Anvesh Renikindi
Browse files

Use safe calls for icons.

Fix: 267767229
Test: local deployment
Change-Id: Iad8b6d55046c5d06c2dfe652bad8f502a394b3f6
parent 6a1f2b08
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ class GetFlowUtils {
                            credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
                            userName = credentialEntry.username.toString(),
                            displayName = credentialEntry.displayName?.toString(),
                            icon = credentialEntry.icon.loadDrawable(context),
                            icon = credentialEntry.icon?.loadDrawable(context),
                            lastUsedTimeMillis = credentialEntry.lastUsedTime,
                        ))
                    }
@@ -213,7 +213,7 @@ class GetFlowUtils {
                            credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
                            userName = credentialEntry.username.toString(),
                            displayName = credentialEntry.displayName?.toString(),
                            icon = credentialEntry.icon.loadDrawable(context),
                            icon = credentialEntry.icon?.loadDrawable(context),
                            lastUsedTimeMillis = credentialEntry.lastUsedTime,
                        ))
                    }
@@ -228,7 +228,7 @@ class GetFlowUtils {
                            credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
                            userName = credentialEntry.title.toString(),
                            displayName = credentialEntry.subtitle?.toString(),
                            icon = credentialEntry.icon.loadDrawable(context),
                            icon = credentialEntry.icon?.loadDrawable(context),
                            lastUsedTimeMillis = credentialEntry.lastUsedTime,
                        ))
                    }