fix user popup sometimes crashing
This commit is contained in:
parent
d097a3ca6f
commit
7f58edc321
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ extension PresenceExtension on Presence {
|
|||
if (presence.statusMsg?.isNotEmpty ?? false) {
|
||||
return presence.statusMsg;
|
||||
}
|
||||
if (presence.currentlyActive) {
|
||||
if (presence.currentlyActive ?? false) {
|
||||
return L10n.of(context).currentlyActive;
|
||||
}
|
||||
return presence.presence.getLocalized(context);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue