Farbpalette vorladen lassen

Bootstraper läd jetzt die farbeinstellung sofort und nicht nachträglich

cleanup and rework

PDF switch to HTML

export fix

Colorsystem

Farben für knöpfe hinzugefügt als anpassung

button color

button color primary and secondary change
This commit is contained in:
2026-03-23 22:42:52 +01:00
parent d5649dc189
commit d85f2e0fb3
84 changed files with 4216 additions and 1814 deletions
+27 -4
View File
@@ -1,8 +1,31 @@
using System.Diagnostics;
using cfs_tracker.ViewModels;
namespace cfs_tracker.Views;
public partial class YearPage : ContentPage
{
private readonly YearViewModel _vm;
public YearPage(YearViewModel vm){ InitializeComponent(); BindingContext = _vm = vm; }
protected override async void OnAppearing(){ base.OnAppearing(); await _vm.RefreshAsync(); }
}
private readonly YearViewModel _viewModel;
public YearPage(YearViewModel viewModel)
{
InitializeComponent();
BindingContext = _viewModel = viewModel;
}
protected override async void OnAppearing()
{
base.OnAppearing();
try
{
await _viewModel.RefreshAsync();
}
catch (Exception ex)
{
Debug.WriteLine("YearPage crash:");
Debug.WriteLine(ex.ToString());
await DisplayAlertAsync("Fehler", ex.ToString(), "OK");
}
}
}