From 350782fa02a61cbe112d32905b4ecc39198710cb Mon Sep 17 00:00:00 2001
From: 张世豪 <979909237@qq.com>
Date: 星期五, 12 十二月 2025 17:06:59 +0800
Subject: [PATCH] 删除了系统设置调试改到点击蓝牙图标调试

---
 src/set/Sets.java |   50 --------------------------------------------------
 1 files changed, 0 insertions(+), 50 deletions(-)

diff --git a/src/set/Sets.java b/src/set/Sets.java
index 3e5134d..39db2d6 100644
--- a/src/set/Sets.java
+++ b/src/set/Sets.java
@@ -43,7 +43,6 @@
     private JButton baseStationIdEditBtn;
     private JButton handheldEditBtn;
     private JButton checkUpdateBtn;
-    private JButton systemDebugButton;
     private JButton feedbackButton;
     private JButton idleTrailEditBtn;
     
@@ -152,7 +151,6 @@
     addRowWithSpacing(panel, idleTrailPanel);
     addRowWithSpacing(panel, feedbackPanel);
     addRowWithSpacing(panel, appVersionPanel);
-    panel.add(createDebugPanel());
         
         return panel;
     }
@@ -264,44 +262,6 @@
         return panel;
     }
 
-    private JPanel createDebugPanel() {
-        JPanel panel = new JPanel(new GridBagLayout());
-        panel.setBackground(PANEL_BACKGROUND);
-        panel.setAlignmentX(Component.LEFT_ALIGNMENT);
-        panel.setMaximumSize(new Dimension(Integer.MAX_VALUE, ROW_HEIGHT));
-        panel.setPreferredSize(new Dimension(Integer.MAX_VALUE, ROW_HEIGHT));
-        panel.setMinimumSize(new Dimension(0, ROW_HEIGHT));
-
-        GridBagConstraints gbc = new GridBagConstraints();
-
-        JLabel titleLabel = new JLabel("绯荤粺璋冭瘯");
-        titleLabel.setFont(new Font("寰蒋闆呴粦", Font.BOLD, 14));
-        titleLabel.setForeground(Color.BLACK);
-        titleLabel.setHorizontalAlignment(SwingConstants.RIGHT);
-        gbc.gridx = 0;
-        gbc.gridy = 0;
-        gbc.weightx = 0;
-        gbc.anchor = GridBagConstraints.EAST;
-        gbc.insets = new Insets(0, 0, 0, 12);
-        panel.add(titleLabel, gbc);
-
-        Color darkerTheme = new Color(
-            Math.max(THEME_COLOR.getRed() - 20, 0),
-            Math.max(THEME_COLOR.getGreen() - 20, 0),
-            Math.max(THEME_COLOR.getBlue() - 20, 0));
-        systemDebugButton = buttonset.createStyledButton("绯荤粺璋冭瘯", darkerTheme);
-        systemDebugButton.setFont(new Font("寰蒋闆呴粦", Font.PLAIN, 12));
-
-        gbc = new GridBagConstraints();
-        gbc.gridx = 1;
-        gbc.gridy = 0;
-        gbc.weightx = 1.0;
-        gbc.anchor = GridBagConstraints.EAST;
-        panel.add(systemDebugButton, gbc);
-
-        return panel;
-    }
-
     private JPanel createFeedbackPanel() {
         JPanel panel = new JPanel(new GridBagLayout());
         panel.setBackground(PANEL_BACKGROUND);
@@ -469,10 +429,6 @@
             feedbackButton.addActionListener(e -> showFeedbackDialog());
         }
 
-        if (systemDebugButton != null) {
-            systemDebugButton.addActionListener(e -> openSystemDebugDialog());
-        }
-
         if (idleTrailEditBtn != null) {
             idleTrailEditBtn.addActionListener(e -> editIdleTrailDuration());
         }
@@ -790,12 +746,6 @@
         timer.setRepeats(false);
         timer.start();
     }
-
-    private void openSystemDebugDialog() {
-        debug dialog = new debug(this, THEME_COLOR);
-        dialog.setLocationRelativeTo(this);
-        dialog.setVisible(true);
-    }
     
     @Override
     public void setVisible(boolean visible) {

--
Gitblit v1.10.0