Null reference exception fix for setting

This commit is contained in:
defnotken
2025-12-21 16:36:23 -06:00
parent be068ed6d1
commit a66a9407f5

View File

@@ -1915,7 +1915,10 @@ public class SettingsUi : WindowMediatorSubscriberBase
UiSharedService.TextWrapped( UiSharedService.TextWrapped(
$"Storage validation is running: {_currentProgress.Item1}/{_currentProgress.Item2}"); $"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}");
}
} }
} }
} }