hide toast when request is accepted
if this is a .request > .ready request, dismissing when in .ready is what we want, as that is how you accept the request if this is a .start request, we shouldn't dismiss so only add .ready to the phases to hide the toast, not .startedpull/21833/head
							parent
							
								
									fa13bb9689
								
							
						
					
					
						commit
						049a6d2064
					
				|  | @ -58,7 +58,7 @@ export default class VerificationRequestToast extends React.PureComponent { | |||
| 
 | ||||
|     _checkRequestIsPending = () => { | ||||
|         const {request} = this.props; | ||||
|         if (request.done || request.cancelled || request.observeOnly) { | ||||
|         if (request.ready || request.done || request.cancelled || request.observeOnly) { | ||||
|             ToastStore.sharedInstance().dismissToast(this.props.toastKey); | ||||
|         } | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Bruno Windels
						Bruno Windels