Null reference exception fix for setting #101

Merged
defnotken merged 2 commits from null-reference-validation into 2.0.1 2025-12-21 22:53:45 +00:00

View File

@@ -1915,7 +1915,10 @@ public class SettingsUi : WindowMediatorSubscriberBase
UiSharedService.TextWrapped(
$"Storage validation is running: {_currentProgress.Item1}/{_currentProgress.Item2}");
UiSharedService.TextWrapped($"Current item: {_currentProgress.Item3.ResolvedFilepath}");
if (_currentProgress.Item3 != null)
{
UiSharedService.TextWrapped($"Current item: {_currentProgress.Item3.ResolvedFilepath}");
}
}
}
}