Skip to content

Commit

Permalink
fix: D_FAULT_EmbeddedBrowser Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc3u committed Sep 2, 2024
1 parent 349b69b commit 6a2ee43
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.80" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.80" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.0" />
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.82" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.8" />
<PackageReference Include="SkiaSharp.Views.Maui.Core" Version="2.88.8" />
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.80" />
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.82" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/Indiko.Maui.Controls.Markdown/LinkEventArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Indiko.Maui.Controls.Markdown;

public class LinkEventArgs : EventArgs
{
public string Url { get; set; }
}
8 changes: 1 addition & 7 deletions src/Indiko.Maui.Controls.Markdown/MarkdownView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,12 @@

namespace Indiko.Maui.Controls.Markdown;

public class LinkEventArgs : EventArgs
{
public string Url { get; set; }
}

public class MarkdownView : ContentView
{
private Dictionary<string, ImageSource> _imageCache = [];

public delegate void HyperLinkClicked(object sender, LinkEventArgs e);
public static event HyperLinkClicked OnHyperLinkClicked;
public event HyperLinkClicked OnHyperLinkClicked;

public static readonly BindableProperty MarkdownTextProperty =
BindableProperty.Create(nameof(MarkdownText), typeof(string), typeof(MarkdownView), propertyChanged: OnMarkdownTextChanged);
Expand Down Expand Up @@ -144,7 +139,6 @@ public Color LineColor
}

/* ****** Code Block Styling ******** */

public static readonly BindableProperty CodeBlockBackgroundColorProperty =
BindableProperty.Create(nameof(CodeBlockBackgroundColor), typeof(Color), typeof(MarkdownView), Colors.LightGray, propertyChanged: OnMarkdownTextChanged);

Expand Down

0 comments on commit 6a2ee43

Please sign in to comment.