Update WallpapersHooks.java

This commit is contained in:
gdlbo
2022-08-26 22:10:43 +03:00
parent a4c6af8ace
commit 8ee29b4b83
@@ -102,11 +102,8 @@ public class WallpapersHooks {
var file = getWallpaperFile();
if (file.exists() && eligibleWallpaperFile(file)) {
var compressed = compress(file);
if (compressed == null) {
return "default";
} else if (getBoolValue("compresswp", true)) {
return compressed.getAbsolutePath();
if (getBoolValue("compresswp", true)) {
return compress(file).getAbsolutePath();
} else {
return file.getAbsolutePath();
}