Skip to content

Commit

Permalink
display the correct submit disclamier message
Browse files Browse the repository at this point in the history
  • Loading branch information
FlafyDev committed Aug 25, 2024
1 parent 4739323 commit f9afec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/nong_add_popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ void NongAddPopup::onPublish(CCObject* target) {
};

if (submit.m_preSubmitMessage.has_value()) {
auto popup = IndexDisclaimerPopup::create(fmt::format("{} Disclaimer", name).c_str(), name, "Back", "Continue", 420.f, submitFunc);
auto popup = IndexDisclaimerPopup::create(fmt::format("{} Disclaimer", name).c_str(), submit.m_preSubmitMessage.value(), "Back", "Continue", 420.f, submitFunc);
popup->m_scene = this;
popup->show();
} else {
Expand Down

0 comments on commit f9afec8

Please sign in to comment.