diff --git a/src/shell/control_center/bluetooth_tab.cpp b/src/shell/control_center/bluetooth_tab.cpp index b6f734a28..563a17546 100644 --- a/src/shell/control_center/bluetooth_tab.cpp +++ b/src/shell/control_center/bluetooth_tab.cpp @@ -3,7 +3,6 @@ #include "core/ui_phase.h" #include "i18n/i18n.h" #include "render/core/renderer.h" -#include "render/scene/input_area.h" #include "shell/panel/panel_manager.h" #include "ui/controls/button.h" #include "ui/controls/flex.h" @@ -11,6 +10,7 @@ #include "ui/controls/input.h" #include "ui/controls/label.h" #include "ui/controls/scroll_view.h" +#include "ui/controls/separator.h" #include "ui/controls/spinner.h" #include "ui/controls/toggle.h" #include "ui/palette.h" @@ -354,7 +354,6 @@ std::unique_ptr BluetoothTab::create() { applySectionCardStyle(*listCard, scale); listCard->setFlexGrow(1.0f); m_listCard = listCard.get(); - addTitle(*listCard, i18n::tr("control-center.bluetooth.devices"), scale); auto listScroll = std::make_unique(); listScroll->setFlexGrow(1.0f); @@ -374,76 +373,7 @@ std::unique_ptr BluetoothTab::create() { return tab; } -std::unique_ptr BluetoothTab::createHeaderActions() { - const float scale = contentScale(); - auto row = std::make_unique(); - row->setDirection(FlexDirection::Horizontal); - row->setAlign(FlexAlign::Center); - row->setGap(Style::spaceSm * scale); - row->setMinHeight(Style::controlHeightSm * scale); - - auto powerLabel = std::make_unique