mirror of
https://github.com/koush/scrypted.git
synced 2026-09-18 09:40:44 +01:00
sdk: unprivatize settings method
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user