mirror of
https://gitee.com/openharmony/applications_screenlock
synced 2024-11-23 06:19:47 +00:00
fix get time format failed after reboot
Signed-off-by: yangpeng85 <yangpeng85@huawei.com>
This commit is contained in:
parent
81eb43c2c1
commit
84d3541452
@ -88,6 +88,7 @@ class TimeManager {
|
|||||||
}
|
}
|
||||||
this.handleTimeFormatChange();
|
this.handleTimeFormatChange();
|
||||||
});
|
});
|
||||||
|
this.handleTimeFormatChange();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Log.showError(TAG, `Can't listen timeformate change.`);
|
Log.showError(TAG, `Can't listen timeformate change.`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user