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:
		| @@ -294,7 +294,7 @@ void LvSelectable::set_selected_text(const std::string &text, lv_anim_enable_t a | ||||
|   } | ||||
| } | ||||
|  | ||||
| void LvSelectable::set_options(std::initializer_list<std::string> options) { | ||||
| void LvSelectable::set_options(const std::initializer_list<std::string> &options) { | ||||
|   auto index = this->get_selected_index(); | ||||
|   if (index >= options.size()) | ||||
|     index = options.size() - 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user