mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-15 04:43:41 +00:00
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:
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(
|
||||
|
||||
Reference in new issue
Block a user