Add ignore app update version

This commit is contained in:
problematicconsumer
2023-10-05 21:49:36 +03:30
parent fbbda93290
commit 3aa8273210
3 changed files with 27 additions and 6 deletions

View File

@@ -24,7 +24,8 @@ class AboutPage extends HookConsumerWidget {
(_, next) async {
if (!context.mounted) return;
switch (next) {
case AppUpdateStateAvailable(:final versionInfo):
case AppUpdateStateAvailable(:final versionInfo) ||
AppUpdateStateIgnored(:final versionInfo):
return NewVersionDialog(
appInfo.presentVersion,
versionInfo,