Skip to content

Commit

Permalink
Improve OrioleWallpaper and LeavesWallpaper
Browse files Browse the repository at this point in the history
  • Loading branch information
patzly committed Aug 21, 2022
1 parent 75bdf99 commit 190f3dd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public SvgDrawable getPreparedSvg(SvgDrawable svgDrawable, int variant, boolean
blue.willBeIntersected = true;

SvgObject yellow = svgDrawable.requireObjectById("yellow");
yellow.addPathIntersection("blue", "#2f366c");
yellow.addPathIntersection("blue", isNightMode ? "#353a6c" : "#2f366c");
yellow.willBeIntersected = true;

SvgObject orange = svgDrawable.requireObjectById("orange");
orange.addPathIntersection("yellow", isNightMode ? "#d07965" : "#f48e77");
orange.addPathIntersection("blue", "#2f366c");
orange.addPathIntersection("yellow", isNightMode ? "#bb6551" : "#f48e77");
orange.addPathIntersection("blue", isNightMode ? "#353a6c" : "#2f366c");

return svgDrawable;
}
Expand All @@ -81,10 +81,10 @@ public WallpaperVariant[] getDarkVariants() {
return new WallpaperVariant[]{
new WallpaperVariant(
R.raw.wallpaper_leaves_dark,
"#c49d52",
"#e99d7b",
"#6f8fae",
new String[]{"#f3e3cc", "#f0a775", "#f6bdac", "#2f366c"},
"#bf9951",
"#3e74a7",
"#bb6551",
new String[]{"#272628", "#c58457", "#a18078", "#353a6c"},
false,
true
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public WallpaperVariant[] getVariants() {
"#adff90",
"#d6ffb2",
"#1b1e1b",
new String[]{},
new String[]{"#b3eaa0"},
true,
false
)
Expand Down
10 changes: 4 additions & 6 deletions app/src/main/res/raw/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

You need to turn on background scrolling in your launcher's settings if you have disabled it before.

#### Wallpaper animation stops working in MIUI?
#### Wallpaper animations stop working?

This is a bug in MIUI caused by its aggressive app killing strategies. As a workaround you can close Doodle without applying the wallpaper, find Doodle in the Google Wallpapers app under the live wallpaper section and try to apply it from there.
This seems like a bug of MIUI 12.5 caused by Xiaomi's aggressive app/service killing strategy. If you instead apply the wallpaper in your system's wallpaper picker or in Google Wallpapers it should work. You can open your system's wallpaper picker with a long-tap on an empty place on your home screen.

#### "Set wallpaper" button disappears after applying the wallpaper?

Expand All @@ -16,14 +16,12 @@ You need to turn off your screen. The next time you turn it back on, the new col

If it still doesn't work, you probably have Samsung's One UI or another custom skin. Dynamic colors for live wallpapers are still not supported by Samsung, but Doodle provides you a workaround in the appearance section.

#### Parallax/zoom animations stop after closing Doodle settings?

This seems like a bug of MIUI 12.5. If you instead apply the wallpaper in your system's wallpaper picker it should work. You can open your system's wallpaper picker with a long-tap on an empty place on your home screen.

#### Wallpaper is crashing?

Please turn off hardware acceleration in "Other options" and try it again. Some devices seem to have issues with hardware accelerated rendering.

If it still crashes, please open a new issue in the GitHub repository of Doodle with the crash log of your device.

#### Wallpaper not applied to lockscreen?

If your device doesn't display you the option to apply it to your lockscreen, then this is not supported by your device. Try searching for your device's name and this question on the Internet to get possible solutions.
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/raw/wallpaper_leaves_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/src/main/res/raw/wallpaper_oriole3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 190f3dd

Please sign in to comment.