File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,18 @@ export class ElectronDataStorageRepositoryService implements DataStorageReposito
1818 storage . set ( key , JSON . stringify ( value ) ) ;
1919 }
2020
21+ // TODO: Throw error when read user config from electron datastore
22+ // Agent-electron should always read the configuration from the UHK over USB which will be implemented later.
23+ // If implemented the feature should have to throw an error to prevent unwanted side effects.
2124 getConfig ( ) : UserConfiguration {
22- return ElectronDataStorageRepositoryService . getValue ( 'user-config' ) ;
25+ return null ;
2326 }
2427
28+ // TODO: Throw error when save user config from electron-datastore
29+ // Agent-electron should always read the configuration from the UHK over USB which will be implemented later.
30+ // If implemented the feature should have to throw an error to prevent unwanted side effects.
2531 saveConfig ( config : UserConfiguration ) : void {
26- ElectronDataStorageRepositoryService . saveValue ( 'user-config' , config . toJsonObject ( ) ) ;
32+
2733 }
2834
2935 getAutoUpdateSettings ( ) : AutoUpdateSettings {
You can’t perform that action at this time.
0 commit comments