refactor: remove useless null check
This commit is contained in:
1 parent
73f3a15f09
commit
9a38e3a440
1 file changed
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user