Fixed icon changing

This commit is contained in:
gdlbo
2022-06-02 13:25:19 +03:00
parent abc87c0254
commit a6de8e0be4
2 changed files with 4 additions and 4 deletions
@@ -21,11 +21,11 @@ public class ThemesFragment extends MaterialPreferenceToolbarFragment {
public boolean apply(Preference preference, Object obj) {
if (((Boolean) obj).booleanValue()) {
componentSwitcher("VTIconDefault", true);
componentSwitcher("VTIconVK", false);
} else {
componentSwitcher("VTIconDefault", false);
componentSwitcher("VTIconVK", true);
} else {
componentSwitcher("VTIconDefault", true);
componentSwitcher("VTIconVK", false);
}
ToastUtils.a(getString("iconapplying"));
@@ -337,7 +337,7 @@ public class Preferences {
}
public static long VKVersionBuildLong() {
return (long) VKVersionBuild();
return VKVersionBuild();
}
public static String getLocale() {