fix(ui): card chip spacing, instant flag clearing, locale-wide label

- Space the update chip off the card title to match the detail header
- Clear the extension's update flag right after a successful upgrade so
  the chip disappears without waiting for the background re-check
- Use the concise Update label across all locales
This commit is contained in:
Levi committed 2026-09-19 21:56:46 +08:00
1 parent fac17b0ccc
commit e779de285d
21 files changed
+25 -20

No files matched your search

@@ -993,7 +993,8 @@ class _ExtensionCard extends ConsumerWidget {
style: TextStyle(color: palette.textPrimary, fontSize: 14, fontWeight: FontWeight.w700),
),
),
if (canUpdate && installed != null)
if (canUpdate && installed != null) ...[
const SizedBox(width: 8),
Flexible(
child: ExtensionUpdateStatus(
key: ValueKey('extension-card-update-status-${item.id}'),
@@ -1001,6 +1002,7 @@ class _ExtensionCard extends ConsumerWidget {
onTap: busy ? null : () => showExtensionUpdateDialog(context, installed),
),
),
],
],
),
const SizedBox(height: 2),