1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00

drop double copy

This commit is contained in:
J. Nick Koston
2025-10-21 12:58:06 -10:00
parent d955479145
commit bfacb8d363

View File

@@ -359,7 +359,7 @@ class LvSelectable : public LvCompound {
void set_selected_text(const std::string &text, lv_anim_enable_t anim); void set_selected_text(const std::string &text, lv_anim_enable_t anim);
std::string get_selected_text(); std::string get_selected_text();
const FixedVector<std::string> &get_options() { return this->options_; } const FixedVector<std::string> &get_options() { return this->options_; }
void set_options(std::initializer_list<std::string> options); void set_options(const std::initializer_list<std::string> &options);
protected: protected:
virtual void set_option_string(const char *options) = 0; virtual void set_option_string(const char *options) = 0;