added stickers background if wallpaper is not null

This commit is contained in:
gdlbo
2022-07-11 19:28:48 +03:00
parent 16be89be00
commit 0995366ae2
5 changed files with 23 additions and 0 deletions
@@ -1,6 +1,7 @@
package ru.vtosters.lite.utils;
import static android.view.View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR;
import static ru.vtosters.lite.ui.wallpapers.WallpapersHooks.getWallpaper;
import static ru.vtosters.lite.utils.Globals.edit;
import static ru.vtosters.lite.utils.Globals.getCenterScreenCoords;
import static ru.vtosters.lite.utils.Globals.getCurrentActivity;
@@ -302,6 +303,12 @@ public class Themes{
return R.style.Theme_MaterialComponents_Light_Dialog_Alert;
} // Android Support color injector + accent color checker
public static String getBackgroundStickers() {
if (getWallpaper() != null) {
return "images_with_background";
}
return "images";
}
public static void setNavbarColor(Window window, int i){
if(navbar()){