Options fix
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
This commit is contained in:
@@ -5,7 +5,6 @@ namespace cfs_tracker.Views;
|
||||
public partial class QuickEntryPage : ContentPage, IQueryAttributable
|
||||
{
|
||||
private readonly QuickEntryViewModel _vm;
|
||||
private bool _initialized;
|
||||
|
||||
public QuickEntryPage(QuickEntryViewModel vm)
|
||||
{
|
||||
@@ -16,11 +15,6 @@ public partial class QuickEntryPage : ContentPage, IQueryAttributable
|
||||
protected override async void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
|
||||
if (_initialized)
|
||||
return;
|
||||
|
||||
_initialized = true;
|
||||
await _vm.InitializeAsync();
|
||||
}
|
||||
|
||||
@@ -28,9 +22,13 @@ public partial class QuickEntryPage : ContentPage, IQueryAttributable
|
||||
{
|
||||
query.TryGetValue("date", out var dateValue);
|
||||
query.TryGetValue("entryId", out var entryIdValue);
|
||||
query.TryGetValue("status", out var statusValue);
|
||||
query.TryGetValue("commit", out var commitValue);
|
||||
|
||||
_vm.ApplyQuery(
|
||||
dateValue?.ToString() ?? string.Empty,
|
||||
entryIdValue?.ToString());
|
||||
entryIdValue?.ToString(),
|
||||
statusValue?.ToString(),
|
||||
commitValue?.ToString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user