fix: Sentry and small null fix

This commit is contained in:
Sorunome 2020-10-28 18:13:04 +01:00
commit e9f3aa37dd
3 changed files with 5 additions and 3 deletions

View file

@ -173,7 +173,7 @@ class UserBottomSheet extends StatelessWidget {
subtitle:
Text(presence.getLocalizedLastActiveAgo(context)),
trailing: Icon(Icons.circle,
color: presence.presence.currentlyActive
color: presence.presence.currentlyActive ?? false
? Colors.green
: Colors.grey),
),