From 84920f8796cf4ec8c22c72d041279e918e01de46 Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Sat, 1 Jun 2024 12:01:51 -0400 Subject: [PATCH] Resolve #192 --- lib/Frontend/pages/ota_update.dart | 2 +- lib/constants.dart | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Frontend/pages/ota_update.dart b/lib/Frontend/pages/ota_update.dart index 90648386..82de1b08 100644 --- a/lib/Frontend/pages/ota_update.dart +++ b/lib/Frontend/pages/ota_update.dart @@ -128,7 +128,7 @@ class _OtaUpdateState extends ConsumerState { ButtonBar( alignment: MainAxisAlignment.center, children: [ - ElevatedButton( + FilledButton( onPressed: (firmwareInfo != null || firmwareFile != null) ? () => beginUpdate() : null, child: Text( otaDownloadButtonLabel(), diff --git a/lib/constants.dart b/lib/constants.dart index 8dac38d5..af0f78d1 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -1,5 +1,3 @@ -import 'package:flutter/material.dart'; - const int kitsuneDelayRange = 1000; const Duration animationTransitionDuration = Duration(milliseconds: 500); @@ -27,7 +25,7 @@ const String allowNewsletterNotifications = 'allowNewsletterNotifications'; // Settings Default value const bool kitsuneModeDefault = false; -final int appColorDefault = Colors.orange.value; +const int appColorDefault = 0xE46E26; const bool hapticsDefault = true; const bool keepAwakeDefault = false; const bool allowAnalyticsDefault = false;