mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-01 00:39:34 +01:00
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) {
|
if (presence.statusMsg?.isNotEmpty ?? false) {
|
||||||
return presence.statusMsg;
|
return presence.statusMsg;
|
||||||
}
|
}
|
||||||
if (presence.currentlyActive) {
|
if (presence.currentlyActive ?? false) {
|
||||||
return L10n.of(context).currentlyActive;
|
return L10n.of(context).currentlyActive;
|
||||||
}
|
}
|
||||||
return presence.presence.getLocalized(context);
|
return presence.presence.getLocalized(context);
|
||||||
|
Loading…
Reference in New Issue
Block a user