Add ADB Keys tab.

This commit is contained in:
Gunther Brunner
2014-09-25 20:03:16 +09:00
parent 0ddc1eb0b0
commit 66cbfe0c3c
21 changed files with 160 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
module.exports = function ($scope, SettingsService) {
$scope.resetSettings = function () {
SettingsService.reset()
console.log('Settings cleared')
}
// $scope.resetSettings = function () {
// var title = 'Reset Settings';
// var msg = 'Are you sure you want to revert all settings to ' +
// 'their default values?';
// var btns = [
// {result: 'cancel', label: 'Cancel'},
// {result: 'ok', label: 'OK', cssClass: 'btn-primary'}
// ];
// $dialog.messageBox(title, msg, btns)
// .open()
// .then(function (result) {
// if (result === 'ok') {
// //SettingsService.clearAll();
// }
// });
// };
}