Update ThemesUtils.java

This commit is contained in:
gdlbo
2023-03-05 15:05:11 +03:00
parent 80af934df3
commit f477232cbe
@@ -41,7 +41,7 @@ import static ru.vtosters.lite.utils.Preferences.*;
public class ThemesUtils {
public static void applyTheme(VKTheme theme) {
try {
VKThemeHelper.theme(theme, LifecycleUtils.getCurrentActivity(), getCenterScreenCoords());
setTheme(theme, LifecycleUtils.getCurrentActivity());
} catch (Exception e) {
e.printStackTrace();
}