refactor: remove useless null check
This commit is contained in:
parent
73f3a15f09
commit
9a38e3a440
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue