Browse Source

Merge branch 'soru/fix-user-popup' into 'main'

fix user popup sometimes crashing

See merge request ChristianPauly/fluffychat-flutter!249
yiffed
Christian Pauly 7 months ago
parent
commit
9440dde1b3
  1. 2
      lib/utils/presence_extension.dart

2
lib/utils/presence_extension.dart

@ -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…
Cancel
Save