sdk: unprivatize settings method

This commit is contained in:
Koushik Dutta
2023-09-15 14:59:01 -07:00
parent 86a91dfbe4
commit e243d99d12

View File

@@ -161,7 +161,7 @@ export class StorageSettings<T extends string> implements Settings {
this.device.onDeviceEvent(ScryptedInterface.Settings, undefined);
}
private getItemInternal(key: T, setting: StorageSetting, rawDevice?: boolean): any {
getItemInternal(key: T, setting: StorageSetting, rawDevice?: boolean): any {
if (!setting)
return this.device.storage.getItem(key);
const readDefaultValue = () => {