refactor: remove useless null check

This commit is contained in:
Anna 2022-02-04 17:09:35 -05:00
parent 15588756c9
commit 786b033fdc
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -52,7 +52,7 @@ internal sealed class PayloadHandler {
var (chunk, payload) = this.Popup.Value;
if (PopupId == null || !ImGui.BeginPopup(PopupId)) {
if (!ImGui.BeginPopup(PopupId)) {
this.Popup = null;
return;
}