Amoled Theme Styles for VKIM + fixed vk refl

This commit is contained in:
gdlbo
2022-04-22 17:39:37 +03:00
parent 05bf888ba6
commit 0d305dbc7e
5 changed files with 314 additions and 3 deletions
@@ -33,6 +33,10 @@ public class Themes {
return Helper.GetContext().getResources().getIdentifier("BaseAmoledStyle", "style", Helper.GetContext().getPackageName());
}
public static int getAmoledImTheme() {
return Helper.GetContext().getResources().getIdentifier("VkIm.Theme.VkApp.Amoled", "style", Helper.GetContext().getPackageName());
}
public static VKTheme getCurrentDarkTheme() {
return amoled() ? VKTheme.AMOLED : VKTheme.DARK;
}