Skip to content

Commit

Permalink
fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaitonn committed Jan 8, 2024
1 parent c498fb0 commit 834f9d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<AssemblyOriginatorKeyFile>..\..\assets\misc\iNKORE.Pulic.snk</AssemblyOriginatorKeyFile>
<RootNamespace>iNKORE.UI.WPF.Modern</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>

<!--<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ private void ForwardButton1_Click(object sender, RoutedEventArgs e)
if (_transitionInfo == null)
{
// Default behavior, no transition set or used.
ContentFrame.Navigate(pageToNavigateTo, null);
ContentFrame.Navigate(sourcePageType: pageToNavigateTo, null);
}
else
{
// Explicit transition info used.
ContentFrame.Navigate(pageToNavigateTo, null, _transitionInfo);
ContentFrame.Navigate(sourcePageType: pageToNavigateTo, null, _transitionInfo);
}
}

Expand Down
1 change: 1 addition & 0 deletions source/iNKORE.UI.WPF.Modern/iNKORE.UI.WPF.Modern.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<AssemblyOriginatorKeyFile>..\..\assets\misc\iNKORE.Pulic.snk</AssemblyOriginatorKeyFile>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 834f9d1

Please sign in to comment.