更新整理
This commit is contained in:
@@ -23,7 +23,7 @@ public class SnackbarService : ISnackbarService
|
||||
/// <inheritdoc/>
|
||||
public void Show(string title, string message, ControlAppearance appearance, IconElement? icon, TimeSpan timeout)
|
||||
{
|
||||
if(_presenter is null)
|
||||
if (_presenter is null)
|
||||
{
|
||||
throw new InvalidOperationException($"The SnackbarPresenter was never set");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user