mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-07 10:35:49 +01:00
fix: migrate old to new settings correctly (#241)
This commit is contained in:
parent
0a6022c258
commit
98ce2df47d
@ -253,7 +253,7 @@ public enum SettingsEnum {
|
|||||||
{DEPRECATED_HIDE_ACTION_BUTTON, HIDE_ACTION_BUTTON},
|
{DEPRECATED_HIDE_ACTION_BUTTON, HIDE_ACTION_BUTTON},
|
||||||
{DEPRECATED_HIDE_SHARE_BUTTON, HIDE_SHARE_BUTTON},
|
{DEPRECATED_HIDE_SHARE_BUTTON, HIDE_SHARE_BUTTON},
|
||||||
};
|
};
|
||||||
for (SettingsEnum oldNewSetting[] : invertedSettingsToMigrate) {
|
for (SettingsEnum oldNewSetting[] : renamedSettings) {
|
||||||
SettingsEnum oldSetting = oldNewSetting[0];
|
SettingsEnum oldSetting = oldNewSetting[0];
|
||||||
SettingsEnum newSetting = oldNewSetting[1];
|
SettingsEnum newSetting = oldNewSetting[1];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user