why must all of this be async

This commit is contained in:
Stanley Dimant
2022-07-10 16:44:45 +02:00
parent a81d3b0d76
commit 7dccd7b341
9 changed files with 22 additions and 11 deletions

View File

@@ -237,7 +237,7 @@ namespace MareSynchronos.UI
ImGui.SetCursorPosY(originalY);
if (ImGuiComponents.IconButton(FontAwesomeIcon.Trash))
{
if (ImGui.GetIO().KeyCtrl)
if (UiShared.CtrlPressed())
{
_ = _apiController.SendPairedClientRemoval(entry.OtherUID);
_apiController.PairedClients.Remove(entry);