fix no date and time and other UI component on ScreenLock page

as the UI component's opacity is 0

Signed-off-by: yangpeng85 <yangpeng85@huawei.com>
This commit is contained in:
a1nc 2022-07-02 11:14:38 +08:00
parent 9b351c59fd
commit 91e550d398
2 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,9 @@ export default class SlideScreenLockViewModel {
this.backgroundScale = 1
setTimeout(() => {
callback()
this.elementAlpha = 1
this.elementScale = 1
this.backgroundScale = 1.1
}, 250);
})
this.slidingLength = SLIDING_LENGTH

View File

@ -45,6 +45,9 @@ export default class SlideScreenLockViewModel {
this.backgroundScale = 1
setTimeout(() => {
callback()
this.elementAlpha = 1
this.elementScale = 1
this.backgroundScale = 1.1
}, 250);
})
this.slidingLength = SLIDING_LENGTH