Details ausgearbeitet

Linked colors to options menu

Options extension

Aussehen aufgebohrt:
 - erlaubt text von status zu ändern,
 - bessere beschriftung von Farben

desing änderung und bedienung

- heute status felder anklickbar,
- Farbpalette verdunkelt und kontrast reduziert
- Kalender Tage anklickbar gemacht
- Optionen überarbeitet
This commit is contained in:
2026-03-22 20:37:35 +01:00
parent 8615d1de07
commit 2b0797f50f
68 changed files with 1746 additions and 1351 deletions
+11 -7
View File
@@ -1,5 +1,6 @@
using SQLite;
using cfs_tracker.Models;
using Microsoft.Maui.Storage;
namespace cfs_tracker.Data;
@@ -10,17 +11,20 @@ public class AppDatabase
public async Task InitAsync()
{
if (_initialized)
return;
var dbPath = Path.Combine(FileSystem.Current.AppDataDirectory, "mecfs_tracker.db3");
if (_initialized) return;
var dbPath = Path.Combine(FileSystem.Current.AppDataDirectory, "cfs_tracker.db3");
_database = new SQLiteAsyncConnection(dbPath);
await _database.CreateTableAsync<ActivityItem>();
await _database.CreateTableAsync<SymptomItem>();
await _database.CreateTableAsync<HealthEntry>();
await _database.CreateTableAsync<HealthEntrySymptom>();
await _database.CreateTableAsync<ThemeSettingItem>();
await _database.CreateTableAsync<AppearanceSetting>();
_initialized = true;
}
public SQLiteAsyncConnection Connection =>
_database ?? throw new InvalidOperationException("Database not initialized.");
}
public SQLiteAsyncConnection Connection => _database ?? throw new InvalidOperationException("Database not initialized.");
}