Show count of client/vendor contacts
This commit is contained in:
parent
59c4a83eb5
commit
b68351a5cc
|
|
@ -280,7 +280,10 @@ class _ClientViewFullwidthState extends State<ClientViewFullwidth>
|
||||||
controller: _scrollController3,
|
controller: _scrollController3,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
localization.contacts,
|
localization.contacts +
|
||||||
|
(client.contacts.length > 1
|
||||||
|
? ' (${client.contacts.length})'
|
||||||
|
: ''),
|
||||||
style: Theme.of(context).textTheme.headline6,
|
style: Theme.of(context).textTheme.headline6,
|
||||||
),
|
),
|
||||||
SizedBox(height: 8),
|
SizedBox(height: 8),
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,10 @@ class _VendorViewFullwidthState extends State<VendorViewFullwidth>
|
||||||
controller: _scrollController3,
|
controller: _scrollController3,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
localization.contacts,
|
localization.contacts +
|
||||||
|
(vendor.contacts.length > 1
|
||||||
|
? ' (${vendor.contacts.length})'
|
||||||
|
: ''),
|
||||||
style: Theme.of(context).textTheme.headline6,
|
style: Theme.of(context).textTheme.headline6,
|
||||||
),
|
),
|
||||||
SizedBox(height: 8),
|
SizedBox(height: 8),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue