mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
Small fix updateChecker
This commit is contained in:
parent
2c71dde228
commit
f2c981928f
2 changed files with 24 additions and 12 deletions
|
|
@ -44,8 +44,9 @@ class _SettingsUpdateInformationState extends ConsumerState<SettingsUpdateInform
|
|||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12),
|
||||
child: Column(
|
||||
spacing: 8,
|
||||
child: ListView(
|
||||
// spacing: 8,
|
||||
shrinkWrap: true,
|
||||
children: [
|
||||
const Divider(),
|
||||
SettingsListTile(
|
||||
|
|
@ -61,16 +62,14 @@ class _SettingsUpdateInformationState extends ConsumerState<SettingsUpdateInform
|
|||
.update((value) => value.copyWith(checkForUpdates: !checkForUpdate)),
|
||||
),
|
||||
),
|
||||
if (checkForUpdate) ...[
|
||||
if (latestRelease != null)
|
||||
UpdateInformation(
|
||||
releaseInfo: latestRelease,
|
||||
expanded: true,
|
||||
if (latestRelease != null)
|
||||
UpdateInformation(
|
||||
releaseInfo: latestRelease,
|
||||
expanded: true,
|
||||
),
|
||||
...otherReleases.where((element) => element != latestRelease).map(
|
||||
(value) => UpdateInformation(releaseInfo: value),
|
||||
),
|
||||
...otherReleases.where((element) => element != latestRelease).map(
|
||||
(value) => UpdateInformation(releaseInfo: value),
|
||||
),
|
||||
]
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue