Skip to content

Commit

Permalink
[UWP] Fix crash when invoking show cards (#4370)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaAnne authored Jul 15, 2020
1 parent 679116b commit 47af793
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/uwp/Renderer/lib/RenderedAdaptiveCard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,10 @@ namespace AdaptiveNamespace
{
return HandleInlineShowCardEvent(actionElement);
}
// else fallthrough
else
{
return m_actionEvents->InvokeAll(this, eventArgs.Get());
}
}
case ABI::AdaptiveCards::Rendering::Uwp::ActionType_Submit:
{
Expand All @@ -298,6 +301,10 @@ namespace AdaptiveNamespace
{
return S_OK;
}
else
{
return m_actionEvents->InvokeAll(this, eventArgs.Get());
}
}
case ABI::AdaptiveCards::Rendering::Uwp::ActionType_OpenUrl:
case ABI::AdaptiveCards::Rendering::Uwp::ActionType_Custom:
Expand Down

0 comments on commit 47af793

Please sign in to comment.