@24i/bigscreen-sdk 1.0.9 → 1.0.10-alpha.2209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ export class DeviceVidaa extends DeviceBase {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
async getManufacturerName(): Promise<string> {
|
|
46
|
-
return '
|
|
46
|
+
return window.Hisense_GetBrand() || '';
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
async getPlatformName(): Promise<string> {
|
|
@@ -56,7 +56,8 @@ export class DeviceVidaa extends DeviceBase {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
async getDeviceName(): Promise<string> {
|
|
59
|
-
|
|
59
|
+
const manufacturerName = await this.getManufacturerName();
|
|
60
|
+
return `${manufacturerName} VIDAA ${await this.getModelName()}`.trim();
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
async getModelName(): Promise<string> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HisenseVidaaApi, HisenseVidaaKeys } from '../types';
|
|
2
2
|
|
|
3
3
|
export const mockHisenseVidaaApi: HisenseVidaaApi = {
|
|
4
|
-
Hisense_GetBrand: () => '
|
|
4
|
+
Hisense_GetBrand: () => 'Hisense',
|
|
5
5
|
Hisense_GetModelName: () => '5U61FQEVS',
|
|
6
6
|
Hisense_GetFirmWareVersion: () => 'V0000.01.00Q.L0301',
|
|
7
7
|
Hisense_Get4KSupportState: () => true,
|
|
@@ -148,7 +148,7 @@ export class EdgeOffsetList<T extends Item<U>, U>
|
|
|
148
148
|
const { edgeOffset } = this.props;
|
|
149
149
|
const list = this.base.current!;
|
|
150
150
|
list.index = index;
|
|
151
|
-
if (list.index
|
|
151
|
+
if (list.index <= this.controller.scrollIndex) {
|
|
152
152
|
this.controller.scroll(list.index < edgeOffset ? 0 : list.index - edgeOffset);
|
|
153
153
|
}
|
|
154
154
|
}
|