mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-07 14:37:29 +00:00
Fixes 'phone' vs 'tablet' for iOS.
This commit is contained in:
parent
73df886272
commit
dd03de2a2e
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ namespace com.keyman {
|
|||
this.formFactor='phone';
|
||||
}
|
||||
|
||||
if(this.formFactor == 'phone' && Math.max(screen.width,screen.height) > 720) {
|
||||
// Trust what iOS tells us for phone vs tablet.
|
||||
if(this.formFactor == 'phone' && Math.max(screen.width,screen.height) > 720 && this.OS != 'iOS') {
|
||||
this.formFactor='tablet';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue