1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

AK+Userland: Return String from human_readable_[digital_]time()

This commit is contained in:
Sam Atkins 2024-01-24 11:49:55 +00:00 committed by Andreas Kling
parent b12541b286
commit 7e8cfb60eb
4 changed files with 9 additions and 11 deletions

View file

@ -138,7 +138,7 @@ void Field::initialize()
m_timer = Core::Timer::create_repeating(
1000, [this] {
++m_time_elapsed;
m_time_label.set_text(String::from_byte_string(human_readable_digital_time(m_time_elapsed)).release_value_but_fixme_should_propagate_errors());
m_time_label.set_text(human_readable_digital_time(m_time_elapsed));
},
this)
.release_value_but_fixme_should_propagate_errors();