fix: migrate old to new settings correctly (#241)

This commit is contained in:
LisoUseInAIKyrios 2022-12-20 12:19:13 +04:00 committed by GitHub
parent 0a6022c258
commit 98ce2df47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@ public enum SettingsEnum {
{DEPRECATED_HIDE_ACTION_BUTTON, HIDE_ACTION_BUTTON},
{DEPRECATED_HIDE_SHARE_BUTTON, HIDE_SHARE_BUTTON},
};
for (SettingsEnum oldNewSetting[] : invertedSettingsToMigrate) {
for (SettingsEnum oldNewSetting[] : renamedSettings) {
SettingsEnum oldSetting = oldNewSetting[0];
SettingsEnum newSetting = oldNewSetting[1];