Skip to content

Commit 8cfc550

Browse files
Fixes #47 - Wrong preprocessor directive for WASM for Markdown rendering
1 parent 15bb53d commit 8cfc550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CommunityToolkit.App.Shared/Renderers/Markdown/MarkdownTextBlock.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#endif
1717
#endif
1818

19-
#if WASM
19+
#if HAS_UNO_WASM
2020
using Markdig;
2121
using Uno.Foundation.Interop;
2222
using Uno.UI.Runtime.WebAssembly;
@@ -27,7 +27,7 @@ namespace CommunityToolkit.App.Shared.Renderers;
2727
/// <summary>
2828
/// Provide an abstraction around the Toolkit MarkdownTextBlock for both UWP and WinUI 3 in the same namespace (until 8.0) as well as a polyfill for WebAssembly/WASM.
2929
/// </summary>
30-
#if WASM
30+
#if HAS_UNO_WASM
3131
[HtmlElement("div")]
3232
public partial class MarkdownTextBlock : TextBlock
3333
{

0 commit comments

Comments
 (0)