Skip to content

Commit

Permalink
Fix show dialog bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-YousefiTelori committed Jan 11, 2024
1 parent cbf415b commit f9cc506
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,20 @@
}
IsNeedToShow = true;
IsShowDialog = true;
dialog.Show();
}

public void ShowDialog(Func<Task> onAfterLoad)
{
_onAfterLoadAsync = onAfterLoad;
IsNeedToShow = true;
IsShowDialog = true;
dialog.Show();
}

public void CloseDialog()
{
IsShowDialog = false;
dialog.Close();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>EasyMicroservices</Authors>
<IsPackable>true</IsPackable>
<Version>0.0.0.20</Version>
<Version>0.0.0.21</Version>
<Description>Core UI compoents.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>component,microcomponent,ui,core</PackageTags>
Expand Down Expand Up @@ -32,5 +32,5 @@
<ItemGroup>
<ProjectReference Include="..\..\Cores\EasyMicroservices.UI.Cores.Mvvm\EasyMicroservices.UI.Cores.Mvvm.csproj" />
</ItemGroup>

</Project>

0 comments on commit f9cc506

Please sign in to comment.