Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit 98ce2df

Browse files
author
LisoUseInAIKyrios
authored
fix: migrate old to new settings correctly (#241)
1 parent 0a6022c commit 98ce2df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public enum SettingsEnum {
253253
{DEPRECATED_HIDE_ACTION_BUTTON, HIDE_ACTION_BUTTON},
254254
{DEPRECATED_HIDE_SHARE_BUTTON, HIDE_SHARE_BUTTON},
255255
};
256-
for (SettingsEnum oldNewSetting[] : invertedSettingsToMigrate) {
256+
for (SettingsEnum oldNewSetting[] : renamedSettings) {
257257
SettingsEnum oldSetting = oldNewSetting[0];
258258
SettingsEnum newSetting = oldNewSetting[1];
259259

0 commit comments

Comments
 (0)