mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Declare window.navigator typing
This commit is contained in:
@@ -318,7 +318,7 @@ export class SettingsDialog extends NavigationDialog {
|
||||
pref: PrefKey.USER_AGENT_PROFILE,
|
||||
multiLines: true,
|
||||
onCreated: (setting, $control) => {
|
||||
const defaultUserAgent = (window.navigator as any).orgUserAgent || window.navigator.userAgent;
|
||||
const defaultUserAgent = window.navigator.orgUserAgent || window.navigator.userAgent;
|
||||
|
||||
const $inpCustomUserAgent = CE<HTMLInputElement>('input', {
|
||||
type: 'text',
|
||||
|
Reference in New Issue
Block a user