Skip to content

Commit bbbe8e7

Browse files
Fatme HavaluovaFatme Havaluova
authored andcommitted
Fix livesync ios when having both iOS and Android devices connected at the same time
1 parent 2f46a54 commit bbbe8e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/services/usb-livesync-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer
3030

3131
public liveSync(platform: string): IFuture<void> {
3232
return (() => {
33-
platform = this.initialize(platform).wait();
33+
platform = platform || this.initialize(platform).wait();
3434
this.$platformService.preparePlatform(platform).wait();
3535

3636
let platformData = this.$platformsData.getPlatformData(platform.toLowerCase());

0 commit comments

Comments
 (0)