Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,20 @@ private void SetTheme(String toastTheme)
}
UpdateIconColor();

}
private void CloseButtonClicked(object sender, EventArgs e)

{
PopupService.Instance.RemovePageAsync(this, true);
}

private void CloseButtonClicked(object sender, EventArgs e)
{
if (PopupService.Instance.PopupStack.Contains(this))
PopupService.Instance.RemovePageAsync(this, true);
}
public void CloseAfterDelay()
{
Task.Run(async () =>
{
await Task.Delay(DELAYTIME);
await PopupService.Instance.RemovePageAsync(this, true);
await Task.Delay(DELAYTIME);
if (PopupService.Instance.PopupStack.Contains(this))
await PopupService.Instance.RemovePageAsync(this, true);
});
}

Expand Down
2 changes: 1 addition & 1 deletion Trimble.Modus.Components/Trimble.Modus.Components.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Trimble.Modus.Components</PackageId>
<Title>Trimble Modus</Title>
<Version>1.3.0.2</Version>
<Version>1.3.0.3</Version>
<Authors>Trimble Inc</Authors>
<Company>Trimble Inc</Company>
<Product>Trimble.Modus.Components</Product>
Expand Down
Loading