Skip to content

Commit 5bba552

Browse files
authored
Merge pull request #536 from unoplatform/dev/jela/material-adjust
fix: Adjust for material theme
2 parents 9ef9b58 + ca12f1e commit 5bba552

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Uno.Playground.Shared/Samples/Playground.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ public Playground()
8282

8383
#if __WASM__
8484
splitter.SetCssClass("resizeHandle");
85+
86+
// Eagerly create material theme
87+
_ = new Uno.Material.MaterialTheme();
8588
#endif
8689

8790
jsonDataContext.TextChanged += OnDataContextTextChanged;

src/Uno.Playground.WASM/Uno.Playground.WASM.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<WasmShellEnableJiterpreter>true</WasmShellEnableJiterpreter>
1515
<WasmShellEnableEmccProfiling>true</WasmShellEnableEmccProfiling>
1616
<!--<WasmShellDisableSDKCheckSumValidation>true</WasmShellDisableSDKCheckSumValidation>-->
17-
<!--<WasmShellILLinkerEnabled>false</WasmShellILLinkerEnabled>-->
17+
<WasmShellILLinkerEnabled>false</WasmShellILLinkerEnabled>
1818
<!--<WasmShellGenerateAOTProfile>true</WasmShellGenerateAOTProfile>-->
1919
</PropertyGroup>
2020

0 commit comments

Comments
 (0)