Merge pull request 'Renable Network Status Updates, Display Status in Contacts View' (#406) from ns into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #406
This commit is contained in:
Dan Ballard 2022-03-23 21:42:28 +00:00
commit 5a1c66bc25
3 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
2022-03-10-19-05-v1.6.0-9-g5b34715
2022-03-22-17-15-v1.6.0-11-gca4897b

View File

@ -1 +1 @@
2022-03-11-00-06-v1.6.0-9-g5b34715
2022-03-22-21-16-v1.6.0-11-gca4897b

View File

@ -107,7 +107,9 @@ class _ContactsViewState extends State<ContactsView> {
? Provider.of<ProfileInfoState>(context).imagePath
: Provider.of<ProfileInfoState>(context).defaultImagePath,
diameter: 42,
border: Provider.of<Settings>(context).current().portraitOnlineBorderColor,
border: Provider.of<ProfileInfoState>(context).isOnline
? Provider.of<Settings>(context).current().portraitOnlineBorderColor
: Provider.of<Settings>(context).current().portraitOfflineBorderColor,
badgeTextColor: Colors.red,
badgeColor: Colors.red,
),