Skip to content
Commit bb17444c authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: fix potential invalid slide index in `nextSlide`

If the last wallpaper is deleted before `nextSlide` is called, the next
time `nextSlide` is called, m_currentSlide is always increased by 1,
which is an invalid index, causing the slideshow always stuck at the
last wallpaper.

CCBUG: 473088


(cherry picked from commit e69e0a93)
parent 3741fc67
Pipeline #460143 passed with stage
in 7 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment