refactor: remove useless null check

This commit is contained in:
Anna
2022-02-04 17:09:35 -05:00
parent 73f3a15f09
commit 9a38e3a440
+1 -1
View File
@@ -52,7 +52,7 @@ internal sealed class PayloadHandler {
var (chunk, payload) = this.Popup.Value; var (chunk, payload) = this.Popup.Value;
if (PopupId == null || !ImGui.BeginPopup(PopupId)) { if (!ImGui.BeginPopup(PopupId)) {
this.Popup = null; this.Popup = null;
return; return;
} }