revert(ui): keep extension update check silent on failure

A failed check simply means no update chip; the failure toast and its
state field are removed.
This commit is contained in:
Levi committed 2026-09-20 08:02:22 +08:00
1 parent a480c5bd14
commit 68402c85d3
4 files changed
+2 -22

No files matched your search

@@ -107,12 +107,6 @@ class _ExtensionsPageState extends ConsumerState<ExtensionsPage> {
});
}
final stateAsync = ref.watch(extensionsControllerProvider);
ref.listen(extensionsControllerProvider, (previous, next) {
final failed = next.value?.updateCheckFailed ?? false;
if (failed && previous?.value?.updateCheckFailed != true) {
showAppToast(context, context.l10n.extensionUpdateCheckFailed);
}
});
final body = Stack(
children: [
ColoredBox(