From a6f77271a4fb4c7b75f4f486d64ff0912af97f55 Mon Sep 17 00:00:00 2001 From: Michael Davidson Date: Wed, 3 Jan 2024 12:51:37 +1100 Subject: [PATCH] Clang-format fixes --- esphome/components/graphical_layout/text_run_panel.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/graphical_layout/text_run_panel.h b/esphome/components/graphical_layout/text_run_panel.h index 99bdc068b1..639618aad1 100644 --- a/esphome/components/graphical_layout/text_run_panel.h +++ b/esphome/components/graphical_layout/text_run_panel.h @@ -33,7 +33,6 @@ class TextRunBase { public: TextRunBase(display::BaseFont *font) { this->font_ = font; } - void set_foreground_color(Color foreground_color) { this->foreground_color_ = foreground_color; } void set_background_color(Color background_color) { this->background_color_ = background_color; } virtual std::string get_text() = 0; @@ -93,7 +92,6 @@ class TextSensorTextRun : public TextRunBase, public FormattableTextRun { std::string get_text() override { return this->format_text(this->text_sensor_->get_state()); } - protected: text_sensor::TextSensor *text_sensor_{nullptr}; };