Skip to content

Commit

Permalink
[Fundamentals] Remove obsolete warnings (#3036)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoituron authored Dec 10, 2024
1 parent 1f11e19 commit 8779ba0
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 10 deletions.
5 changes: 2 additions & 3 deletions examples/Demo/Shared/Components/NotificationCenter.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
ShowOverflow="true"
BackgroundColor="@Color.Error"
Color="Color.Fill"
Appearance="Appearance.Accent"
ShowZero=true>
Appearance="Appearance.Accent">
<ChildContent>
@NotificationIcon()
</ChildContent>
Expand Down Expand Up @@ -75,4 +74,4 @@ else
MessageService.OnMessageItemsUpdated -= UpdateCount;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<FluentCounterBadge Count="5"
Appearance="Appearance.Neutral"
HorizontalPosition="-25"
BottomPosition="-25">
VerticalPosition="-25">
<FluentButton Appearance="Appearance.Accent">
<FluentIcon Value="@(new Icons.Regular.Size24.Alert())" Color="@Color.Fill" />
</FluentButton>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<h2>Collapsible Navigation Example</h2>
@{
#pragma warning disable CS0618
}

<h2>Collapsible Navigation Example</h2>

<FluentStack Orientation="Orientation.Horizontal" Width="100%">
<div>
Expand Down Expand Up @@ -30,4 +34,4 @@
@code
{
bool Expanded = true;
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@{
#pragma warning disable CS0618
}

@using System.Text;

<h2>Custom Actions Example</h2>
Expand Down Expand Up @@ -96,4 +100,4 @@
{
_hideDialog = true;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<h2>Navigation Examples</h2>
@{
#pragma warning disable CS0618
}

<h2>Navigation Examples</h2>

<FluentStack Orientation="Orientation.Horizontal">
<!-- Menu with sub-items and icons -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<h2>Navigation Examples</h2>
@{
#pragma warning disable CS0618
}

<h2>Navigation Examples</h2>
<FluentStack Orientation="Orientation.Horizontal" >
<!-- Menu with sub-items and icons -->
<FluentNavMenuTree Collapsible="false" Title="Navigation demo">
Expand Down
4 changes: 3 additions & 1 deletion examples/Demo/Shared/Pages/NavMenuTree/NavMenuTreePage.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@page "/NavMenuTree"

@{
#pragma warning disable CS0618
}
@using FluentUI.Demo.Shared.Pages.NavMenuTree.Examples

<PageTitle>@App.PageTitle("NavMenuTree")</PageTitle>
Expand Down

0 comments on commit 8779ba0

Please sign in to comment.