mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Migrate Stream settings in Global storage to Stream storage
This commit is contained in:
@@ -44,12 +44,6 @@ export class BaseSettingsStorage<T extends AnyPref> {
|
||||
|
||||
// Validate setting values
|
||||
for (const key in settings) {
|
||||
// Don't store invalid keys
|
||||
if (!this.definitions.hasOwnProperty(key)) {
|
||||
delete settings[key];
|
||||
continue;
|
||||
}
|
||||
|
||||
settings[key] = this.validateValue('get', key as T, settings[key]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user