mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00: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"
|
" _||_-\n"
|
||||||
};
|
};
|
||||||
|
|
||||||
StringBuilder sb;
|
m_wizard_output->set_text(String::formatted("{}{}", serenityos_ascii, wizard_ascii));
|
||||||
sb.appendf("%s%s", serenityos_ascii, wizard_ascii);
|
|
||||||
m_wizard_output->set_text(sb.to_string());
|
|
||||||
|
|
||||||
m_wizard_button->on_click = [&]() {
|
m_wizard_button->on_click = [&]() {
|
||||||
StringBuilder sb;
|
StringBuilder sb;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue