mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-27 09:12:32 +00:00
update common/src/main/ets/default/model/common/ScreenManager.ts.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
a09d0d9154
commit
5c86f46048
@ -182,7 +182,11 @@ export class ScreenManager {
|
||||
|
||||
destroyWindowMode(): void {
|
||||
Log.debug(TAG, `start to destory photos application window mode: ${this.windowMode}`);
|
||||
this.mainWindow && this.destroyMainWindow();
|
||||
try {
|
||||
this.mainWindow.off('windowSizeChange');
|
||||
} catch (error) {
|
||||
Log.error(TAG, `destroy window error: ${error}`);
|
||||
}
|
||||
}
|
||||
|
||||
isSplitMode(): boolean {
|
||||
|
Loading…
Reference in New Issue
Block a user