chore(angular): fix typo in platform provider (#23385)

This commit is contained in:
dejian-lc
2021-06-01 20:52:36 +08:00
committed by GitHub
parent 857550a0c4
commit e4bbaf8a7f

View File

@ -209,7 +209,7 @@ export class Platform {
}
/**
* Returns `true` if the app is in portait mode.
* Returns `true` if the app is in portrait mode.
*/
isPortrait(): boolean {
return this.win.matchMedia && this.win.matchMedia('(orientation: portrait)').matches;