Fix init glitch in ComposeControls.
This commit is contained in:
		
							parent
							
								
									5f5933c1b3
								
							
						
					
					
						commit
						1f69c61d51
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -778,6 +778,13 @@ SuggestionsController::SuggestionsController(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	updateForceHidden();
 | 
						updateForceHidden();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						_container->shownValue(
 | 
				
			||||||
 | 
						) | rpl::filter([=](bool shown) {
 | 
				
			||||||
 | 
							return shown && !_shown;
 | 
				
			||||||
 | 
						}) | rpl::start_with_next([=] {
 | 
				
			||||||
 | 
							_container->hide();
 | 
				
			||||||
 | 
						}, _container->lifetime());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	handleTextChange();
 | 
						handleTextChange();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue