Verified Commit 8574503e authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/potd: update accent color on image changed

Call `repaintNeeded()` to update the accent color from the wallpaper.
parent f3db2b5c
Pipeline #187608 passed with stage
in 1 minute and 56 seconds
......@@ -29,6 +29,11 @@ Rectangle {
image: PotdProviderModelInstance.image
fillMode: wallpaper.configuration.FillMode
smooth: true
onImageChanged: {
// Update accent color
wallpaper.repaintNeeded();
}
}
Component.onCompleted: {
......
Supports Markdown
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