Showing
1 changed file
with
7 additions
and
9 deletions
| @@ -462,15 +462,13 @@ export struct PlayUIComponent { | @@ -462,15 +462,13 @@ export struct PlayUIComponent { | ||
| 462 | window.Orientation.LANDSCAPE).then(()=>{ | 462 | window.Orientation.LANDSCAPE).then(()=>{ |
| 463 | WindowModel.shared.setSpecificSystemBarEnabled(true) | 463 | WindowModel.shared.setSpecificSystemBarEnabled(true) |
| 464 | 464 | ||
| 465 | + }).finally(()=>{ | ||
| 466 | + let timer = setTimeout(() => { | ||
| 467 | + EmitterUtils.sendEvent(EmitterEventId.live_half_SCREEN, 0) | ||
| 468 | + EmitterUtils.sendEvent(EmitterEventId.live_FULL_SCREEN, 0) | ||
| 469 | + clearTimeout(timer) | ||
| 470 | + }, 200) | ||
| 465 | }) | 471 | }) |
| 466 | - let timer = setTimeout(() => { | ||
| 467 | - EmitterUtils.sendEvent(EmitterEventId.live_FULL_SCREEN, 0) | ||
| 468 | - clearTimeout(timer) | ||
| 469 | - }, 200) | ||
| 470 | - | ||
| 471 | - let timer1 = setTimeout(() => { | ||
| 472 | - EmitterUtils.sendEvent(EmitterEventId.live_half_SCREEN, 0) | ||
| 473 | - clearTimeout(timer1) | ||
| 474 | - }, 200) | 472 | + |
| 475 | } | 473 | } |
| 476 | } | 474 | } |
-
Please register or login to post a comment