mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
WidgetGallery: Convert StringBuilder::appendf() => AK::Format
This commit is contained in:
parent
c1967fca0d
commit
e2ffd14e4e
1 changed files with 1 additions and 3 deletions
|
@ -259,9 +259,7 @@ GalleryWidget::GalleryWidget()
|
|||
" _||_-\n"
|
||||
};
|
||||
|
||||
StringBuilder sb;
|
||||
sb.appendf("%s%s", serenityos_ascii, wizard_ascii);
|
||||
m_wizard_output->set_text(sb.to_string());
|
||||
m_wizard_output->set_text(String::formatted("{}{}", serenityos_ascii, wizard_ascii));
|
||||
|
||||
m_wizard_button->on_click = [&]() {
|
||||
StringBuilder sb;
|
||||
|
|
Loading…
Add table
Reference in a new issue