feat: add equality operators, make history screen paginated, random performance updates

This commit is contained in:
2026-07-29 18:10:46 +02:00
parent da5588cd1c
commit 031a618220
22 changed files with 702 additions and 79 deletions
+3 -4
View File
@@ -4,6 +4,7 @@ import 'package:ota_update/ota_update.dart';
import '../models/settings.dart';
import '../services/settings_service.dart';
import '../utils/app_config.dart';
class SettingsViewModel extends ChangeNotifier {
final SettingsService settingsService;
@@ -15,9 +16,7 @@ class SettingsViewModel extends ChangeNotifier {
bool _hasLoaded = false;
String? _errorMessage;
final AppUpdateUtil _updater = AppUpdateUtil(
serverUrl: "https://updater.brammie15.dev",
);
final AppUpdateUtil _updater = AppUpdateUtil(serverUrl: kUpdateServerUrl);
bool _checkingForUpdates = false;
@@ -74,7 +73,7 @@ class SettingsViewModel extends ChangeNotifier {
}) async {
final url = update.download.startsWith("http")
? update.download
: "https://updater.brammie15.dev${update.download}";
: "$kUpdateServerUrl${update.download}";
debugPrint("Download Url: ${url}");