mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:07:44 +00:00
Userland: Use MUST()
to unwrap String values
This commit is contained in:
parent
2331d2bafa
commit
cfbd14b958
2 changed files with 4 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue