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:
+15
-3
@@ -1,8 +1,20 @@
|
||||
using cfs_tracker.ViewModels;
|
||||
|
||||
namespace cfs_tracker.Views;
|
||||
|
||||
public partial class MonthPage : ContentPage
|
||||
{
|
||||
private readonly MonthViewModel _vm;
|
||||
public MonthPage(MonthViewModel vm){ InitializeComponent(); BindingContext = _vm = vm; }
|
||||
protected override async void OnAppearing(){ base.OnAppearing(); await _vm.RefreshAsync(); }
|
||||
private readonly MonthViewModel _viewModel;
|
||||
|
||||
public MonthPage(MonthViewModel viewModel)
|
||||
{
|
||||
InitializeComponent();
|
||||
BindingContext = _viewModel = viewModel;
|
||||
}
|
||||
|
||||
protected override async void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
await _viewModel.RefreshAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user