Skip to content

Commit

Permalink
more ui changes to ota
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Jun 12, 2024
1 parent 5c20c11 commit 09fe2cd
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions lib/Frontend/pages/ota_update.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,27 +104,29 @@ class _OtaUpdateState extends ConsumerState<OtaUpdate> {
direction: Axis.vertical,
children: [
if ([OtaState.standby, OtaState.manual].contains(otaState)) ...[
if (HiveProxy.getOrDefault(settings, showDebugging, defaultValue: showDebuggingDefault)) ...[
if (!HiveProxy.getOrDefault(settings, showDebugging, defaultValue: showDebuggingDefault)) ...[
Expanded(
child: ListTile(
title: const Text("Debug"),
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text("MD5: ${firmwareInfo?.md5sum}"),
Text("DL MD5: $downloadedMD5"),
Text("URL: ${baseStatefulDevice?.baseDeviceDefinition.fwURL}"),
Text("AVAILABLE VERSION: ${firmwareInfo?.version}"),
Text("CURRENT VERSION: ${baseStatefulDevice?.fwVersion.value}"),
Text("STATE: $otaState"),
],
child: ListTile(
title: const Text("Debug"),
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text("MD5: ${firmwareInfo?.md5sum}"),
Text("DL MD5: $downloadedMD5"),
Text("URL: ${baseStatefulDevice?.baseDeviceDefinition.fwURL}"),
Text("AVAILABLE VERSION: ${firmwareInfo?.version}"),
Text("CURRENT VERSION: ${baseStatefulDevice?.fwVersion.value}"),
Text("STATE: $otaState"),
],
),
),
)),
),
],
Expanded(
flex: 2,
child: Center(
child: LottieLazyLoad(
width: MediaQuery.of(context).size.width / 1.5,
width: MediaQuery.of(context).size.width,
asset: Assets.tailcostickers.tailCoStickersFile144834357,
),
),
Expand Down

0 comments on commit 09fe2cd

Please sign in to comment.