Skip to content

Commit

Permalink
fix(Session): Set default values for hl and gl in context builder
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Sep 18, 2024
1 parent 425027c commit 7a39326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ export default class Session extends EventEmitter {
static #buildContext(args: ContextData) {
const context: Context = {
client: {
hl: args.hl,
gl: args.gl,
hl: args.hl || 'en',
gl: args.gl || 'US',
remoteHost: args.remote_host,
screenDensityFloat: 1,
screenHeightPoints: 1440,
Expand Down

0 comments on commit 7a39326

Please sign in to comment.