We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a714694 commit 27a95e9Copy full SHA for 27a95e9
1 file changed
src/clients/xaml/CodeBreaker.ViewModels/Pages/GamePageViewModel.cs
@@ -108,7 +108,7 @@ public GameDto? Game
108
[ObservableProperty]
109
private bool _isCancelling = false;
110
111
- public bool IsNameEnterable => !InProgress && !_isNamePredefined;
+ public bool IsNameEnterable => !InProgress && !IsNamePredefined;
112
113
[RelayCommand(AllowConcurrentExecutions = false, FlowExceptionsToTaskScheduler = true)]
114
private async Task StartGameAsync()
@@ -118,7 +118,7 @@ private async Task StartGameAsync()
118
InitializeValues();
119
120
InProgress = true;
121
- CreateGameResponse response = await _client.StartGameAsync(_name, "6x4Game");
+ CreateGameResponse response = await _client.StartGameAsync(Name, "6x4Game");
122
123
GameStatus = GameMode.Started;
124
0 commit comments