This commit is contained in:
gdlbo
2023-02-19 15:38:57 +03:00
parent 314e4de27d
commit 60dcb4fb87
2 changed files with 3 additions and 2 deletions
@@ -8,6 +8,7 @@ import com.vtosters.lite.R;
import ru.vtosters.lite.themes.loaders.ResourcesLoader;
import ru.vtosters.lite.themes.utils.ArscEditor;
import ru.vtosters.lite.utils.IOUtils;
import ru.vtosters.lite.utils.ThemesUtils;
import java.io.*;
import java.util.zip.ZipEntry;
@@ -128,7 +129,7 @@ public class ThemesManager {
Log.d("ThemesManager", "init paths");
initPaths(app);
if(hasTmpArchive()) {
if(hasTmpArchive() && !ThemesUtils.isMonetTheme()) {
ResourcesLoader.init(app);
ResourcesLoader.load(app, resTmpZipFile.getAbsolutePath(), assetsZipFile.getAbsolutePath(), false);
}
@@ -127,7 +127,7 @@ public class ThemesFragment extends MaterialPreferenceToolbarFragment {
newsfeedNotificationsPreference.setVisible(Preferences.milkshake());
findPreference("accentprefs").setVisible(!ThemesUtils.isMonetTheme() && ThemesUtils.isMilkshake());
findPreference("accentprefs").setVisible(!ThemesUtils.isMonetTheme());
var wp = findPreference("wallpapers");
wp.setIcon(recolorDrawable(getGlobalContext().getDrawable(R.drawable.ic_media_outline_28)));