1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:57:35 +00:00

Userland: Use MUST() to unwrap String values

This commit is contained in:
Tim Ledbetter 2024-02-12 18:10:22 +00:00 committed by Tim Flynn
parent 2331d2bafa
commit cfbd14b958
2 changed files with 4 additions and 4 deletions

View file

@ -160,7 +160,7 @@ ErrorOr<bool> MailWidget::connect_and_login()
auto& list_items = response.data().list_items();
m_statusbar->set_text(String::formatted("Loaded {} mailboxes", list_items.size()).release_value_but_fixme_should_propagate_errors());
m_statusbar->set_text(MUST(String::formatted("Loaded {} mailboxes", list_items.size())));
m_account_holder = AccountHolder::create();
m_account_holder->add_account_with_name_and_mailboxes(username, move(list_items));