Skip to content

Commit 40c31de

Browse files
committed
Removed null warning
1 parent 01d0a0e commit 40c31de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/VisualPairCoding/VisualPairCoding.AvaloniaUI/EnterNamesWindow.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public async void SaveSessionConfiguration(object? sender, RoutedEventArgs args)
319319
{
320320
try
321321
{
322-
SessionConfigurationFileHandler.Save(file.Path.LocalPath, new SessionConfiguration(participants, (int)minutesPerTurn.Value));
322+
SessionConfigurationFileHandler.Save(file.Path.LocalPath, new SessionConfiguration(participants, (int)minutesPerTurn.Value!));
323323
await MessageBoxHelper.ShowInfo(this, "Config Saved", "Session Configuration saved successfully!");
324324
}
325325
catch (Exception ex)

0 commit comments

Comments
 (0)