mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-01 12:46:07 +00:00
web/device: add user agent
This commit is contained in:
parent
02437a686c
commit
4759f2037c
|
@ -21,6 +21,7 @@ const device = {
|
||||||
mobile,
|
mobile,
|
||||||
},
|
},
|
||||||
preferredLocale,
|
preferredLocale,
|
||||||
|
userAgent: navigator.userAgent,
|
||||||
}
|
}
|
||||||
|
|
||||||
const app = {
|
const app = {
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
is.android: {device.is.android}
|
is.android: {device.is.android}
|
||||||
is.mobile: {device.is.mobile}
|
is.mobile: {device.is.mobile}
|
||||||
preferredLocale: {device.preferredLocale}
|
preferredLocale: {device.preferredLocale}
|
||||||
|
userAgent: {device.userAgent}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
|
Loading…
Reference in a new issue