private async void updateSteamProfileIndexByOneSettingAsync() { _steamProfileSettings.CurrentIndex++; _steamProfileSettings.PreviousIndex = _steamProfileSettings.CurrentIndex - 1; SteamProfileSettingsUtilitie.UpdateSteamProfileSettingAsync(_steamProfileSettings); }
//private async Task setupSteamProfileIndex() //{ // var steamApp = await _gameManager.GetAllSteamIdAsync(); // var g = steamApp.ToList(); // if (g.Count == 0) // resetSteamProfile(); // _steamProfileSettings = await SteamProfileSettingsUtilitie.GetSteamProfileSettingsAsync(); // _currentIndex = _steamProfileSettings.CurrentIndex; //} private async void resetSteamProfile() { SteamProfileSettingsUtilitie.UpdateSteamProfileSettingAsync(new SteamProfileSettings { }); }