adjust initial dialog to opt in/out into census with buttons

This commit is contained in:
rootdarkarchon
2023-11-21 14:59:43 +01:00
parent a32aef8ee8
commit 1dfdab4fef
6 changed files with 39 additions and 33 deletions

View File

@@ -24,6 +24,8 @@ internal class ReportPopupHandler : IPopupHandler
public Vector2 PopupSize => new(500, 500);
public bool ShowClose => true;
public void DrawContent()
{
using (ImRaii.PushFont(_uiSharedService.UidFont))
@@ -49,10 +51,6 @@ internal class ReportPopupHandler : IPopupHandler
}
}
public void OnClose()
{
}
public void Open(OpenReportPopupMessage msg)
{
_reportedPair = msg.PairToReport;