Skip to content

Commit 288c5f4

Browse files
committed
chore: bump OneNotificationPerApp to net 6 and latest version
1 parent 8f4ef94 commit 288c5f4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

notification/single-instance-per-app/OneNotificationPerApp/Components/FirstComponent.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Notification.Instance.Show(new NotificationModel()
1414
{
1515
Text = "From First Component",
16-
ThemeColor = ThemeColors.Primary,
16+
ThemeColor = ThemeConstants.Notification.ThemeColor.Primary,
1717
CloseAfter = 0,
1818
Closable = false
1919
});

notification/single-instance-per-app/OneNotificationPerApp/Components/SecondComponent.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Notification.Instance.Show(new NotificationModel()
1313
{
1414
Text = "From SECOND Component",
15-
ThemeColor = ThemeColors.Warning,
15+
ThemeColor = ThemeConstants.Notification.ThemeColor.Warning,
1616
CloseAfter = 0,
1717
Closable = false
1818
});

notification/single-instance-per-app/OneNotificationPerApp/OneNotificationPerApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Telerik.UI.for.Blazor" Version="2.20.0" />
8+
<PackageReference Include="Telerik.UI.for.Blazor" Version="3.6.0" />
99
</ItemGroup>
1010

1111

notification/single-instance-per-app/OneNotificationPerApp/Pages/Counter.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Notification.Instance.Show(new NotificationModel()
1919
{
2020
Text = "From COUNTER Page, counter: " + currentCount,
21-
ThemeColor = ThemeColors.Info,
21+
ThemeColor = ThemeConstants.Notification.ThemeColor.Info,
2222
CloseAfter = 2000,
2323
Closable = true
2424
});

notification/single-instance-per-app/OneNotificationPerApp/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Notification.Instance.Show(new NotificationModel()
1616
{
1717
Text = "From Index Page. Go to the Counter Page and try the button there too",
18-
ThemeColor = ThemeColors.Success,
18+
ThemeColor = ThemeConstants.Notification.ThemeColor.Success,
1919
CloseAfter = 0,
2020
Closable = true
2121
});

0 commit comments

Comments
 (0)