diff --git a/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeDevicesFragment.java b/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeDevicesFragment.java
index 034a9526..e52715b4 100644
--- a/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeDevicesFragment.java
+++ b/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeDevicesFragment.java
@@ -279,6 +279,9 @@ public class HomeDevicesFragment extends BaseFragment {
* @param type 1加热 2液体 3主料 4搅拌
*/
private void showControlDialog(int type){
+ if(ConfigName.getInstance().isFastClick()){
+ return;
+ }
if(ModbusHelper.get().isBtnStop()){
NewToastUtil.getInstance().showToast("设备已急停,请关闭急停按钮再调试!");
return;
diff --git a/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeFoodsFragment.java b/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeFoodsFragment.java
index 53340369..2e06134c 100644
--- a/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeFoodsFragment.java
+++ b/app/src/main/java/com/bonait/bnframework/ui/fragment/HomeFoodsFragment.java
@@ -100,6 +100,7 @@ public class HomeFoodsFragment extends BaseFragment {
viewBinding.topbar.setBackgroundColor(ContextCompat.getColor(requireContext(), R.color.topbj1));
viewBinding.topbar.setTitle("菜谱");
viewBinding.topbar.addRightTextButton("设备状态:"+ (ModbusHelper.get().getConnected() ? "已连接" : "未连接"),R.id.status_image);
+ viewBinding.back.setVisibility(View.GONE);
handler.sendEmptyMessageDelayed(1,1000L);
}
diff --git a/app/src/main/res/layout/fragment_home_foods.xml b/app/src/main/res/layout/fragment_home_foods.xml
index a899176d..9bde06b1 100644
--- a/app/src/main/res/layout/fragment_home_foods.xml
+++ b/app/src/main/res/layout/fragment_home_foods.xml
@@ -7,6 +7,18 @@
android:id="@+id/topbar"
android:layout_width="match_parent"
android:layout_height="?attr/qmui_topbar_height" >
+