Refactors initDisplayDelay function for readability 58/250958/4
authorDongHyun Song <dh81.song@samsung.com>
Wed, 6 Jan 2021 05:35:30 +0000 (14:35 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Fri, 22 Jan 2021 04:28:20 +0000 (13:28 +0900)
commit957df0f518550850d777b644581b5c4d9956305a
tree4ad9b9c9077516bb80ca98d8b8be522526db0528
parentefe6d08214e4c09f94b084053d0b6b5e9df07f9c
Refactors initDisplayDelay function for readability

Segregates two parts according to 'firstLaunch'.
If first launch,
 - handle splash screen (place out of 'initDisplayDelay()')
 - add delay show event
If not first launch
 - enable window

Change-Id: Ic8104bc683bf3785581c4c3e6582d3fe738bed89
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/src/web_application.ts