Skip to content

Commit

Permalink
fix keyboard mode checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Dec 9, 2023
1 parent e5bc817 commit 47544c7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
34 changes: 17 additions & 17 deletions dist/android-tv-card.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "android-tv-card",
"version": "3.1.2",
"version": "3.1.3",
"description": "Android TV Remote Card",
"main": "./dist/android-tv-card.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/android-tv-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class AndroidTVCard extends LitElement {
.actionKey="keyboard"
.customIcon=${this.customIcons[info.icon ?? ''] ?? ''}
.keyboardId=${this.config.keyboard_id}
.keyboardMode=${this.config.keyboard_mode}
.keyboardMode=${this.config.keyboard_mode ?? 'ANDROID TV'}
._style=${style}
/>`;
}
Expand All @@ -327,7 +327,7 @@ class AndroidTVCard extends LitElement {
.actionKey="textbox"
.customIcon=${this.customIcons[info.icon ?? ''] ?? ''}
.keyboardId=${this.config.keyboard_id}
.keyboardMode=${this.config.keyboard_mode}
.keyboardMode=${this.config.keyboard_mode ?? 'ANDROID TV'}
._style=${style}
/>`;
}
Expand All @@ -347,7 +347,7 @@ class AndroidTVCard extends LitElement {
.actionKey="search"
.customIcon=${this.customIcons[info.icon ?? ''] ?? ''}
.keyboardId=${this.config.keyboard_id}
.keyboardMode=${this.config.keyboard_mode}
.keyboardMode=${this.config.keyboard_mode ?? 'ANDROID TV'}
._style=${style}
/>`;
}
Expand Down

0 comments on commit 47544c7

Please sign in to comment.