mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
web: Bug fix: IsAndroidChrome always returned true
This commit is contained in:
parent
124389561c
commit
06bbc08e9b
@ -37,9 +37,11 @@ func init() {
|
||||
|
||||
if !strings.Contains(userAgent, "Android") {
|
||||
isAndroidChrome = false
|
||||
return
|
||||
}
|
||||
if !strings.Contains(userAgent, "Chrome") {
|
||||
isAndroidChrome = false
|
||||
return
|
||||
}
|
||||
isAndroidChrome = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user