[FL-1498] Keyboard save focus (#730)
* text_input: set focus on Save button if text is set * text_input: add clear API, format documentation * all: rework text input clean with new API
This commit is contained in:
		@@ -13,8 +13,7 @@ View* TextInputVM::get_view() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void TextInputVM::clean() {
 | 
			
		||||
    set_result_callback(NULL, NULL, NULL, 0, false);
 | 
			
		||||
    set_header_text("");
 | 
			
		||||
    text_input_clean(text_input);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void TextInputVM::set_result_callback(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user