d11f0e46c0
clean up and fixes - Heute gefixt - Code Cleanup NotificationScheduleItemViewModel -fixed NotificationScheduleItemViewModel for Windows compat push implementation Push fixes Push benachrichtungen eingebaut - Status bei push - Push auch in background - Toggle für symtome angepasst push system change exporter update Optionen fix - Optionen aufgeteilt auf 3 tabs - Anpassungen haben jetzt Farbslider Optimierung fix
31 lines
695 B
C#
31 lines
695 B
C#
using cfs_tracker.ViewModels;
|
|
using System.Diagnostics;
|
|
|
|
namespace cfs_tracker.Views;
|
|
|
|
public partial class YearPage : ContentPage
|
|
{
|
|
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");
|
|
}
|
|
}
|
|
} |