Message selection fixed and optimised for speed
							parent
							
								
									d20d62e8c6
								
							
						
					
					
						commit
						2b7af04587
					
				| @ -0,0 +1,25 @@ | ||||
| /* global Whisper */ | ||||
| 
 | ||||
| // eslint-disable-next-line func-names
 | ||||
| (function() { | ||||
|     'use strict'; | ||||
|    | ||||
|     window.Whisper = window.Whisper || {}; | ||||
|    | ||||
|     Whisper.ConversationLoadingScreen = Whisper.View.extend({ | ||||
|       initialize() { | ||||
|       }, | ||||
|    | ||||
|       render() { | ||||
|         this.toastView = new Whisper.ReactWrapperView({ | ||||
|           className: 'app-loading-wrapper', | ||||
|           Component: window.Signal.Components.ConversationLoadingScreen, | ||||
|           props: this.props, | ||||
|         }); | ||||
|    | ||||
|         this.$el.append(this.toastView.el); | ||||
|       }, | ||||
|    | ||||
|     }); | ||||
|   })(); | ||||
|    | ||||
| @ -0,0 +1,19 @@ | ||||
| import React from 'react'; | ||||
| 
 | ||||
| import { SessionSpinner } from './session/SessionSpinner'; | ||||
| 
 | ||||
| 
 | ||||
| export class ConversationLoadingScreen extends React.PureComponent { | ||||
|   constructor(props: any) { | ||||
|     super(props); | ||||
|   } | ||||
| 
 | ||||
|   public render() { | ||||
| 
 | ||||
|     return ( | ||||
|       <div className="conversation-loader"> | ||||
|         <SessionSpinner /> | ||||
|       </div> | ||||
|     ); | ||||
|   } | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue