some fixes
This commit is contained in:
@@ -215,6 +215,6 @@ public class WallpaperMenuFragment extends MaterialPreferenceToolbarFragment{
|
||||
|
||||
@Override
|
||||
public int T4(){
|
||||
return getIdentifier("vtltgs", "string");
|
||||
return getIdentifier("wallpapers", "string");
|
||||
}
|
||||
}
|
||||
@@ -71,15 +71,15 @@ public class IconManager{
|
||||
appNameComponent = appnamesList.indexOf(appname); // get appname index
|
||||
}
|
||||
|
||||
var oldint = getPreferences().getInt("component_enabled", 11);
|
||||
var newint = Integer.parseInt(iconComponent + "" + appNameComponent);
|
||||
String oldint = getPreferences().getString("components_enabled", "11");
|
||||
String newint = iconComponent + "" + appNameComponent;
|
||||
|
||||
if (oldint == newint)
|
||||
return; // check if current component is equal to custom value or if custom value is not exist
|
||||
|
||||
componentSwitcher("id" + oldint, false); // disable current component to prevent conflict with custom value
|
||||
|
||||
edit().putInt("component_enabled", newint).commit(); // save custom value
|
||||
edit().putString("components_enabled", newint).commit(); // save custom value
|
||||
|
||||
componentSwitcher("id" + newint, true); // enable custom value
|
||||
}
|
||||
|
||||
@@ -5784,4 +5784,6 @@
|
||||
|
||||
<string name="thanksfordonate">, спасибо тебе за поддержку проекта!</string>
|
||||
<string name="getdonate">, поддержи проект донатом и получи бонусы</string>
|
||||
|
||||
<string name="wallpapers">Обои</string>
|
||||
</resources>
|
||||
|
||||
@@ -5943,6 +5943,8 @@ May look like a fake leaving the online"</string>
|
||||
<string name="thanksfordonate">, thank you for supporting the project!</string>
|
||||
<string name="getdonate">, support the project with a donation and get rewards</string>
|
||||
|
||||
<string name="wallpapers">Wallpapers</string>
|
||||
|
||||
<string name="vkiddisable">Disable protection</string>
|
||||
<string name="vkidsumm">VK has started blocking the use of third-party applications, so for the stable operation of all parts of the application, it is necessary to disable Protection from suspicious applications \n\nVK ID -> Security and Login -> Protection from suspicious applications</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user