fixed the vertial alignment of a few bits
This commit is contained in:
@@ -169,13 +169,6 @@ export class HeaderComponent implements OnInit {
|
||||
favouriteList.push(favourite);
|
||||
}
|
||||
}
|
||||
runscrcpy() {
|
||||
this.scrcpy_options.device = this.adbService.deviceSerial;
|
||||
this.appService
|
||||
.runScrCpy(this.scrcpy_options)
|
||||
.then(() => this.statusService.showStatus('Stream closed.'))
|
||||
.catch(e => this.statusService.showStatus('ScrCpy Error: ' + JSON.stringify(e), true));
|
||||
}
|
||||
saveFavourites(type: string) {
|
||||
localStorage.setItem(type, JSON.stringify(this.favourites[type]));
|
||||
}
|
||||
@@ -195,16 +188,6 @@ export class HeaderComponent implements OnInit {
|
||||
this.statusService.showStatus(e, true);
|
||||
});
|
||||
}
|
||||
connectWifi() {
|
||||
this.adbCommandToRun = 'adb tcpip 5555';
|
||||
this.adbService.deviceStatusMessage = 'Attempting wifi connection...';
|
||||
(this.isConnected() ? this.runAdbCommand() : Promise.resolve()).then(() => {
|
||||
setTimeout(() => {
|
||||
this.adbCommandToRun = 'adb connect ' + this.adbService.deviceIp + ':5555';
|
||||
this.runAdbCommand();
|
||||
}, 5000);
|
||||
});
|
||||
}
|
||||
isConnected() {
|
||||
return this.adbService.deviceStatus === ConnectionStatus.CONNECTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user