Merge branch 'soru/fix-user-popup' into 'main'
fix user popup sometimes crashing See merge request ChristianPauly/fluffychat-flutter!249
This commit is contained in:
commit
9440dde1b3
|
@ -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…
Reference in a new issue