forked from MapComplete/MapComplete
		
	UI: attempt to fix #2508
This commit is contained in:
		
							parent
							
								
									90fdb22842
								
							
						
					
					
						commit
						3f897bdff5
					
				
					 2 changed files with 11 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -120,7 +120,7 @@ export class AndroidPolyfill {
 | 
			
		|||
            if (typeof v === "string") {
 | 
			
		||||
                v = JSON.parse(v)
 | 
			
		||||
            }
 | 
			
		||||
            console.log("Got inset sizes:", result)
 | 
			
		||||
            console.log("Got inset sizes:", JSON.stringify(result))
 | 
			
		||||
            insets.bottom.set(v.bottom / window.devicePixelRatio)
 | 
			
		||||
            insets.top.set(v.top / window.devicePixelRatio)
 | 
			
		||||
        })
 | 
			
		||||
| 
						 | 
				
			
			@ -186,4 +186,8 @@ export class AndroidPolyfill {
 | 
			
		|||
            }
 | 
			
		||||
        )
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    static exit() {
 | 
			
		||||
        this.databridgePlugin.request({key: "exit"})
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue