Skip to content

Commit

Permalink
docs: fixing linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunal22shah authored and kazo0 committed Sep 16, 2024
1 parent 9f95f9e commit 28d6399
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 69 deletions.
1 change: 1 addition & 0 deletions doc/controls/NavigationBar.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ On **Android**, only icons are supported (`AppBarButton.Icon`). This is due to a

> [!NOTE]
> The default back button icon can be customized for non-mobile platforms by overriding the `NavigationBarBackIconData` resource. On `Android` and `iOS`, the native default back button icon is used. On Windows and other non-mobile platforms, you can provide a custom back button icon by defining the `NavigationBarBackIconData` resource in your resource dictionary:
>
>```xml
><Application.Resources>
> <x:String x:Key="NavigationBarBackIconData">YOUR_CUSTOM_PATH_DATA</x:String>
Expand Down
4 changes: 2 additions & 2 deletions samples/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<PackageVersion Include="Uno.Cupertino.WinUI" Version="4.2.0-dev.17" />
<PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.8.0-dev.1" />
<PackageVersion Include="Uno.Extensions.Logging.WebAssembly.Console" Version="1.8.0-dev.1" />
<PackageVersion Include="Uno.Material" Version="4.2.0-dev.17" />
<PackageVersion Include="Uno.Material.WinUI" Version="4.2.0-dev.17" />
<PackageVersion Include="Uno.Material" Version="5.2.0-dev.23" />
<PackageVersion Include="Uno.Material.WinUI" Version="5.2.0-dev.23" />
<PackageVersion Include="Uno.UI" Version="5.4.0-dev.738" />
<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="5.4.0-dev.738" />
<PackageVersion Include="Uno.UI.RemoteControl" Version="5.4.0-dev.738" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<CupertinoToolkitResources xmlns="using:Uno.Toolkit.UI.Cupertino" />

<!-- Load application resources -->
<ResourceDictionary Source="Converters.xaml" />
<ResourceDictionary Source="ms-appx:///Converters.xaml" />
<ResourceDictionary Source="ms-appx:///Styles/Application/Colors.xaml" />
<ResourceDictionary Source="ms-appx:///Styles/Application/Fonts.xaml" />
<ResourceDictionary Source="ms-appx:///Styles/Button.xaml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
<utu:NavigationBar.MainCommand>
<AppBarButton Label="Close"
Click="NavigateBack"
AutomationProperties.AutomationId="M3_NavBar_Close_Button"
Style="{StaticResource MaterialAppBarButtonStyle}">
AutomationProperties.AutomationId="M3_NavBar_Close_Button">
<AppBarButton.Icon>
<BitmapIcon UriSource="ms-appx:///Assets/CloseIcon.png" />
</AppBarButton.Icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,4 +583,4 @@
<Content Include="$(MSBuildThisFileDirectory)Assets\Media\SmallMedia.scale-400.png" />
<Content Include="$(MSBuildThisFileDirectory)Assets\UnoLogo.png" />
</ItemGroup>
</Project>
</Project>
Loading

0 comments on commit 28d6399

Please sign in to comment.