From 297b60fa7a1aa4b03b273a475ba547e989f61599 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Fri, 21 Oct 2022 09:55:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?=E7=B1=BB=E5=AF=B9=E5=BA=94activity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/devcontrol/base/enums/DeviceTypeEnum.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/base/enums/DeviceTypeEnum.java b/app/src/main/java/cc/niushuai/project/devcontrol/base/enums/DeviceTypeEnum.java index 174ef25..8d65261 100644 --- a/app/src/main/java/cc/niushuai/project/devcontrol/base/enums/DeviceTypeEnum.java +++ b/app/src/main/java/cc/niushuai/project/devcontrol/base/enums/DeviceTypeEnum.java @@ -4,6 +4,8 @@ import android.widget.TextView; import cc.niushuai.project.devcontrol.R; import cc.niushuai.project.devcontrol.base.ui.BaseActivity; +import cc.niushuai.project.devcontrol.ui.custom.DeviceCustomActivity; +import cc.niushuai.project.devcontrol.ui.deviceadd.DeviceAddCustomActivity; import cc.niushuai.project.devcontrol.ui.deviceadd.DeviceAddPowerSwitchActivity; import cc.niushuai.project.devcontrol.ui.powerswitch.PowerSwitchActivity; @@ -19,7 +21,7 @@ public enum DeviceTypeEnum { * 开关 */ Power_Switch("Power_Switch", "开关", R.drawable.ic_device_type_switch, DeviceAddPowerSwitchActivity.class, PowerSwitchActivity.class), - Custom("Custom", "自定义设备", R.drawable.ic_device_type_custom, DeviceAddPowerSwitchActivity.class, PowerSwitchActivity.class), + Custom("Custom", "自定义设备", R.drawable.ic_device_type_custom, DeviceAddCustomActivity.class, DeviceCustomActivity.class), ; private String value;