Skip to content

Commit 4580f5a

Browse files
committed
Added a custom version of the MaterialMessageBox as it did not use the apps theme
PR is made for the official package
1 parent d994e00 commit 4580f5a

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

BespokeFusion/BespokeFusion.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Copyright>Copyright © 2021 Bespoke Fusion</Copyright>
1717
<AssemblyVersion>3.1.3.0</AssemblyVersion>
1818
<FileVersion>3.1.3.0</FileVersion>
19-
<Version>4.0.2.1</Version>
19+
<Version>4.0.2.2</Version>
2020
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
2121
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
2222
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
@@ -29,7 +29,7 @@
2929
<Company>Bespoke Fusion</Company>
3030
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3131
<PackageIcon>icon.png</PackageIcon>
32-
<PackageReleaseNotes>4.0.2.1 - MessageBox can now use the application resources instead of its own</PackageReleaseNotes>
32+
<PackageReleaseNotes>4.0.2.2 - MessageBox can now use the application resources instead of its own</PackageReleaseNotes>
3333
</PropertyGroup>
3434

3535
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">

MaterialMessageBoxDemo/App.xaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Application
1+
<Application
22
x:Class="MaterialMessageBoxDemo.App"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -7,7 +7,10 @@
77
<Application.Resources>
88
<ResourceDictionary>
99
<ResourceDictionary.MergedDictionaries>
10-
<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" />
10+
<materialDesign:BundledTheme
11+
BaseTheme="Light"
12+
PrimaryColor="DeepPurple"
13+
SecondaryColor="Lime" />
1114
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
1215
</ResourceDictionary.MergedDictionaries>
1316
</ResourceDictionary>

0 commit comments

Comments
 (0)