Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Nielsen committed Nov 29, 2023
1 parent e0e8c3d commit d0ddc4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Toolkit/Toolkit/UI/Controls/PopupViewer/PopupViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
using Esri.ArcGISRuntime.RealTime;
using Esri.ArcGISRuntime.Toolkit.Internal;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;

#if MAUI
using Esri.ArcGISRuntime.Toolkit.Maui.Primitives;
Expand Down Expand Up @@ -97,8 +96,10 @@ public override void OnApplyTemplate()
private bool _isDirty = false;
private object _isDirtyLock = new object();

[DynamicDependency(nameof(Esri.ArcGISRuntime.Mapping.Popups.Popup.EvaluatedElements), "Esri.ArcGISRuntime.Mapping.Popups.Popup", "Esri.ArcGISRuntime")]
private void InvalidatePopup()
#if MAUI
[System.Diagnostics.CodeAnalysis.DynamicDependency(nameof(Esri.ArcGISRuntime.Mapping.Popups.Popup.EvaluatedElements), "Esri.ArcGISRuntime.Mapping.Popups.Popup", "Esri.ArcGISRuntime")]
#endif
private void InvalidatePopup()
{
lock (_isDirtyLock)
{
Expand Down

0 comments on commit d0ddc4f

Please sign in to comment.