mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Move SettingsController to settings module
This commit is contained in:
parent
673e82e530
commit
caea581589
@ -203,10 +203,6 @@ app.controller('AppController', function(
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
app.controller('SettingsController', function(SettingsService) {
|
|
||||||
this.storage = SettingsService.data;
|
|
||||||
});
|
|
||||||
|
|
||||||
app.controller('NavigationController', function($state) {
|
app.controller('NavigationController', function($state) {
|
||||||
this.isState = $state.is;
|
this.isState = $state.is;
|
||||||
this.open = shell.openExternal;
|
this.open = shell.openExternal;
|
||||||
|
@ -40,3 +40,14 @@ settings.service('SettingsService', function($localStorage) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
settings.controller('SettingsController', function(SettingsService) {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @summary Settings data
|
||||||
|
* @type Object
|
||||||
|
* @public
|
||||||
|
*/
|
||||||
|
this.storage = SettingsService.data;
|
||||||
|
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user