Upgraded to MudBlazor 9 (#1137)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-31 10:48:20 +01:00
1 parent e0337a99bc
commit aeba1fbccc
625 files changed
+408 -882

No files matched your search

@@ -102,4 +102,4 @@
</MudLayout>
</MudPaper>
<MudThemeProvider @ref="@this.themeProvider" Theme="@this.ColorTheme" IsDarkMode="@this.useDarkMode" ObserveSystemThemeChange="@this.FollowSystemTheme" />
<MudThemeProvider @ref="@this.themeProvider" Theme="@this.ColorTheme" IsDarkMode="@this.useDarkMode" ObserveSystemDarkModeChange="@this.FollowSystemTheme" />
@@ -217,6 +217,9 @@ public partial class MainLayout : LayoutComponentBase, IMessageBusReceiver, ILan
config.HideTransitionDuration = 600;
config.Action = T("Check for updates");
config.ActionVariant = Variant.Filled;
// MudBlazor keeps a snackbar with an action until the user closes it; this one disappears after its time:
config.RequireInteraction = false;
config.OnClick = async _ =>
{
await this.MessageBus.SendMessage<bool>(this, Event.USER_SEARCH_FOR_UPDATE);
@@ -268,6 +271,9 @@ public partial class MainLayout : LayoutComponentBase, IMessageBusReceiver, ILan
};
config.Action = T("Show details");
config.ActionVariant = Variant.Filled;
// MudBlazor keeps a snackbar with an action until the user closes it; this one disappears after its time:
config.RequireInteraction = false;
});
}