feat(store): license pill on the module card
Some checks are pending
Security / Security check (push) Waiting to run
Some checks are pending
Security / Security check (push) Waiting to run
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
240c424a5b
commit
32e2510c63
1 changed files with 11 additions and 0 deletions
|
|
@ -1945,6 +1945,17 @@ class _FeaturedTile extends StatelessWidget {
|
|||
const SizedBox(width: ChainSpace.xs),
|
||||
if (item.status.isNotEmpty)
|
||||
_statusPill(context, item.status),
|
||||
// License on the card, not only in the detail
|
||||
// sheet — buyers scan the grid for exactly this
|
||||
// (usertest finding: no license/cost signal per
|
||||
// module before clicking).
|
||||
if (item.license.isNotEmpty) ...[
|
||||
const SizedBox(width: ChainSpace.xs),
|
||||
ChainPill(
|
||||
label: item.license,
|
||||
tone: ChainPillTone.neutral,
|
||||
),
|
||||
],
|
||||
const Spacer(),
|
||||
if (item.installed)
|
||||
ChainPill(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue