Showing
1 changed file
with
3 additions
and
5 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 | - }) | 465 | + }).finally(()=>{ |
| 466 | let timer = setTimeout(() => { | 466 | let timer = setTimeout(() => { |
| 467 | + EmitterUtils.sendEvent(EmitterEventId.live_half_SCREEN, 0) | ||
| 467 | EmitterUtils.sendEvent(EmitterEventId.live_FULL_SCREEN, 0) | 468 | EmitterUtils.sendEvent(EmitterEventId.live_FULL_SCREEN, 0) |
| 468 | clearTimeout(timer) | 469 | clearTimeout(timer) |
| 469 | }, 200) | 470 | }, 200) |
| 471 | + }) | ||
| 470 | 472 | ||
| 471 | - let timer1 = setTimeout(() => { | ||
| 472 | - EmitterUtils.sendEvent(EmitterEventId.live_half_SCREEN, 0) | ||
| 473 | - clearTimeout(timer1) | ||
| 474 | - }, 200) | ||
| 475 | } | 473 | } |
| 476 | } | 474 | } |
-
Please register or login to post a comment