// UI ----------------------------------------------------------------------------------------------- #region UI private async Task ChangeRecords(EFilter_PlayerOldestType type) { var oldRecordDatum = await playerViewModel.GetPlayerOldestRecords(game, mode, type, playerType, playerValue, list_index); oldRecordData = oldRecordDatum?.data.records; if (oldRecordData is null) { return; } ORTypeOptionLabel.Text = "Type: " + EFilter_ToString.toString2(type); if (list_index == 1) { ORStack.Children.Clear(); } LayoutRecords(); }