@ledvance/base 1.1.61 → 1.1.63
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
package/src/api/native.ts
CHANGED
|
@@ -263,7 +263,7 @@ export class NativeApi {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
static toDeviceSettingsPage(deviceId: string, isGroup: boolean = false): void {
|
|
266
|
-
toDeviceSettingsPage(deviceId
|
|
266
|
+
toDeviceSettingsPage(deviceId)
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
static toRoutinesPage(params: {backTitle:string}): void{
|
|
@@ -256,6 +256,11 @@ export const useFanMaxSpeed = () => {
|
|
|
256
256
|
return fanProductList.includes(productId) ? 20 : 3
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
+
export const isUVCFanDevice = () =>{
|
|
260
|
+
const {productId} = useDeviceInfo()
|
|
261
|
+
return fanProductList.includes(productId)
|
|
262
|
+
}
|
|
263
|
+
|
|
259
264
|
export const ldvModules = nativePropsSlice.reducer
|
|
260
265
|
|
|
261
266
|
export const {
|