summaryrefslogtreecommitdiff
path: root/Userland/MenuApplets/Audio
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-16 12:00:33 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-16 14:52:04 +0100
commitc71807a3fc592ab1d2d59c157e122a1b4030cd46 (patch)
tree3cacfa51d521be5f1fbe17f880391dd7ec42b0fe /Userland/MenuApplets/Audio
parentc90b7881a7313a9b36c7069769b5489c3be4f014 (diff)
downloadserenity-c71807a3fc592ab1d2d59c157e122a1b4030cd46.zip
Everywhere: Convert a handful of String::format() => formatted()
Diffstat (limited to 'Userland/MenuApplets/Audio')
-rw-r--r--Userland/MenuApplets/Audio/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/MenuApplets/Audio/main.cpp b/Userland/MenuApplets/Audio/main.cpp
index 5c7cc73ce3..fdb5f94842 100644
--- a/Userland/MenuApplets/Audio/main.cpp
+++ b/Userland/MenuApplets/Audio/main.cpp
@@ -161,7 +161,7 @@ private:
painter.blit({}, audio_bitmap, audio_bitmap.rect());
if (m_show_percent) {
- auto volume_text = m_audio_muted ? "mute" : String::format("%d%%", m_audio_volume);
+ auto volume_text = m_audio_muted ? "mute" : String::formatted("{}%", m_audio_volume);
painter.draw_text({ 16, 3, 24, 16 }, volume_text, Gfx::FontDatabase::default_fixed_width_font(), Gfx::TextAlignment::TopLeft, palette().window_text());
}
}