add hasNotch in global variable

This commit is contained in:
王劲鹏
2020-03-19 11:51:32 +08:00
committed by osborn
parent dad9dd7e9e
commit 126fa275b8
3 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ declare global {
screenWidth: number;
screenHeight: number;
statusBarHeight: number;
hasNotch: boolean;
/**
* ex:Apple or Google
*/