From 8ca3b9fce2dbaa87a2d75549abc89a46a5303967 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:47:20 +0300 Subject: [PATCH] thank you cvolton --- loader/src/ui/internal/GeodeUI.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/loader/src/ui/internal/GeodeUI.cpp b/loader/src/ui/internal/GeodeUI.cpp index 99d936b2..9a599c1f 100644 --- a/loader/src/ui/internal/GeodeUI.cpp +++ b/loader/src/ui/internal/GeodeUI.cpp @@ -17,18 +17,13 @@ void geode::openIssueReportPopup(Mod* mod) { if (mod->getMetadata().getIssues()) { MDPopup::create( "Issue Report", - mod->getMetadata().getIssues().value().info + - "\n\n" + "Please report the issue to the mod that caused the crash.\n" "If your issue relates to a game crash, please include the " "latest crash log(s) from `" + dirs::getCrashlogsDir().string() + "`", - "OK", (mod->getMetadata().getIssues().value().url ? "Open URL" : ""), + "OK", "", [mod](bool btn2) { - if (btn2) { - web::openLinkInBrowser( - mod->getMetadata().getIssues().value().url.value() - ); - } + } )->show(); }