检视问题修改

Signed-off-by: ludao518 <dao.lu@archermind.com>
This commit is contained in:
ludao518 2024-03-21 16:31:32 +08:00 committed by 梅旺027708
parent aeb9e7c54b
commit e9d233fd93

View File

@ -38,7 +38,7 @@ export class DisplayManager {
return globalThis.DisplayManager ??= new DisplayManager()
}
private async loadDefaultDisplay() {
private loadDefaultDisplay() {
try {
this.defaultDisplay = display.getDefaultDisplaySync()
Log.showInfo(TAG, 'loadDefaultDisplay. defaultDisplay id: ' + this.defaultDisplay?.id)