chore: Use open sans default font
This commit is contained in:
Родитель
74dfd863bd
Коммит
359a8e8e94
|
@ -30,6 +30,8 @@
|
|||
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
|
||||
<PackageReference Include="Nager.Country" Version="4.0.0" />
|
||||
<PackageReference Include="Nager.Country.Translation" Version="3.0.4" />
|
||||
|
||||
<PackageReference Include="Uno.Fonts.OpenSans" Version="2.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<Choose>
|
||||
|
|
|
@ -42,6 +42,10 @@ namespace CalculatorApp
|
|||
{
|
||||
InitializeLogging();
|
||||
|
||||
#if HAS_UNO
|
||||
global::Uno.UI.FeatureConfiguration.Font.DefaultTextFontFamily = "ms-appx:///Uno.Fonts.OpenSans/Fonts/OpenSans.ttf";
|
||||
#endif
|
||||
|
||||
this.InitializeComponent();
|
||||
this.Suspending += OnSuspending;
|
||||
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
<PackageReference Include="Uno.Core.Extensions.Disposables" Version="4.0.1" />
|
||||
<PackageReference Include="Nager.Country" Version="4.0.0" />
|
||||
<PackageReference Include="Nager.Country.Translation" Version="3.0.4" />
|
||||
|
||||
<PackageReference Include="Uno.Fonts.OpenSans" Version="2.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -84,6 +84,8 @@
|
|||
<PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="8.0.2" />
|
||||
<PackageReference Include="Nager.Country" Version="4.0.0" />
|
||||
<PackageReference Include="Nager.Country.Translation" Version="3.0.4" />
|
||||
|
||||
<PackageReference Include="Uno.Fonts.OpenSans" Version="2.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче