mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
AK+Userland: Rename Array::front/back to first/last
This is the name that is used for every other collection type so let's be consistent.
This commit is contained in:
parent
359365a06a
commit
c0ca6e470f
4 changed files with 7 additions and 7 deletions
|
@ -199,7 +199,7 @@ private:
|
|||
Gfx::Bitmap& choose_bitmap_from_volume()
|
||||
{
|
||||
if (m_audio_muted)
|
||||
return *m_volume_level_bitmaps.back().bitmap;
|
||||
return *m_volume_level_bitmaps.last().bitmap;
|
||||
|
||||
for (auto& pair : m_volume_level_bitmaps) {
|
||||
if (m_audio_volume >= pair.volume_threshold)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue