Update WallpapersHooks.java
This commit is contained in:
@@ -102,11 +102,8 @@ public class WallpapersHooks {
|
|||||||
var file = getWallpaperFile();
|
var file = getWallpaperFile();
|
||||||
|
|
||||||
if (file.exists() && eligibleWallpaperFile(file)) {
|
if (file.exists() && eligibleWallpaperFile(file)) {
|
||||||
var compressed = compress(file);
|
if (getBoolValue("compresswp", true)) {
|
||||||
if (compressed == null) {
|
return compress(file).getAbsolutePath();
|
||||||
return "default";
|
|
||||||
} else if (getBoolValue("compresswp", true)) {
|
|
||||||
return compressed.getAbsolutePath();
|
|
||||||
} else {
|
} else {
|
||||||
return file.getAbsolutePath();
|
return file.getAbsolutePath();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user