mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 22:35:25 +02:00
Finally Control button is implemented.
Also the route /control tries to use the last used device.
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
module.exports = function MenuCtrl($scope, $rootScope, SettingsService,
|
||||
$location, ExternalUrlModalService) {
|
||||
|
||||
SettingsService.bind($scope, {
|
||||
target: 'lastUsedDevice'
|
||||
})
|
||||
|
||||
SettingsService.bind($rootScope, {
|
||||
target: 'platform', defaultValue: 'native'
|
||||
target: 'platform',
|
||||
defaultValue: 'native'
|
||||
})
|
||||
|
||||
$scope.$on('$routeChangeSuccess', function () {
|
||||
|
||||
Reference in New Issue
Block a user