fix mod descriptions (nasty bug)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions

this is a very bad issue with the result library :( alk pls fix
This commit is contained in:
matcool 2024-11-09 18:32:34 -03:00
parent 70be7c6061
commit 31d7c9d099

View file

@ -46,7 +46,7 @@ protected:
}
void onRequest(Request::Event* event) {
if (event->getValue() && event->getValue()->isOk() && event->getValue()->unwrap()) {
if (event->getValue() && event->getValue()->isOk() && event->getValue()->inspect([](auto&& value) { return value.has_value(); })) {
m_loading->removeFromParent();
m_textarea->setString(event->getValue()->unwrap()->c_str());
}