From b6ba2065117ece7a94cc56e07acf54114fe8bfe9 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Fri, 21 Oct 2022 16:29:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E5=AE=8C=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E8=87=AA=E6=88=91=E9=94=80=E6=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java b/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java index 98179ea..ab0e522 100644 --- a/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java +++ b/app/src/main/java/cc/niushuai/project/devcontrol/ui/deviceadd/DeviceAddPowerSwitchActivity.java @@ -82,6 +82,7 @@ public class DeviceAddPowerSwitchActivity extends BaseActivity { ToastUtil.show(this, StrUtil.format("设备: {} 已新增", device.getName())); + this.finish(); ActivityUtil.startActivity(this, PowerSwitchActivity.class, new String[]{Keys.ID}, new String[]{device.getId()}); } } \ No newline at end of file