From 9e423c26822f61144d257a5bedfb3429f5e89d99 Mon Sep 17 00:00:00 2001 From: CodeDoctor Date: Sat, 23 Jul 2022 22:32:13 +0200 Subject: [PATCH] Disable updater on web --- app/lib/settings/general.dart | 3 ++- fastlane/metadata/android/en-US/changelogs/35.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lib/settings/general.dart b/app/lib/settings/general.dart index b6240e43d8d5..c91fe3b09847 100644 --- a/app/lib/settings/general.dart +++ b/app/lib/settings/general.dart @@ -63,6 +63,7 @@ class GeneralSettingsPage extends StatelessWidget { ], ), body: ListView(children: [ + if (!kIsWeb)...[ Card( margin: const EdgeInsets.all(8), child: Padding( @@ -75,7 +76,6 @@ class GeneralSettingsPage extends StatelessWidget { style: Theme.of(context).textTheme.headline5, ), const SizedBox(height: 16), - if (!kIsWeb) FutureBuilder( future: _fetchMeta(), builder: (context, snapshot) { @@ -146,6 +146,7 @@ class GeneralSettingsPage extends StatelessWidget { ]), ), ), + ], Card( margin: const EdgeInsets.all(8), child: Padding( diff --git a/fastlane/metadata/android/en-US/changelogs/35.txt b/fastlane/metadata/android/en-US/changelogs/35.txt index 4af206325004..0b1fdc6756a2 100644 --- a/fastlane/metadata/android/en-US/changelogs/35.txt +++ b/fastlane/metadata/android/en-US/changelogs/35.txt @@ -1,4 +1,5 @@ * Add portuguese (Brazil) localization +* Disable updater on web * Fix file import on remote * Fix classic light theme * Fix embedding mode