mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 00:23:41 -04:00
Incoke error popup on UI thread.
This commit is contained in:
@ -318,7 +318,8 @@ namespace Observatory
|
||||
}
|
||||
}
|
||||
|
||||
ErrorReporter.ShowErrorPopup($"Journal Read Error{(readErrors.Count > 1 ? "s" : "")}", errorContent.ToString());
|
||||
Avalonia.Threading.Dispatcher.UIThread.InvokeAsync(() => ErrorReporter.ShowErrorPopup($"Journal Read Error{(readErrors.Count > 1 ? "s" : "")}", errorContent.ToString()));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user