add hide/unhide for renderkey

This commit is contained in:
Nathan
2025-12-17 16:23:40 -07:00
parent 202ad49f48
commit 17f685c91a
4 changed files with 3824 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ namespace UnifiedFarmLauncher.ViewModels
private readonly ConfigService _configService;
private string _sheepItUsername = string.Empty;
private string _sheepItRenderKey = string.Empty;
private bool _isRenderKeyVisible = false;
public GlobalSettingsViewModel(ConfigService configService)
{
@@ -27,6 +28,12 @@ namespace UnifiedFarmLauncher.ViewModels
set => SetAndRaise(ref _sheepItRenderKey, value);
}
public bool IsRenderKeyVisible
{
get => _isRenderKeyVisible;
set => SetAndRaise(ref _isRenderKeyVisible, value);
}
private void LoadSettings()
{
var config = _configService.Load();