File tree Expand file tree Collapse file tree 5 files changed +3
-136
lines changed Expand file tree Collapse file tree 5 files changed +3
-136
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ import { SetupEncryptionStore } from "../stores/SetupEncryptionStore";
50
50
import { RoomScrollStateStore } from "../stores/RoomScrollStateStore" ;
51
51
import { ConsoleLogger , IndexedDBLogStore } from "../rageshake/rageshake" ;
52
52
import ActiveWidgetStore from "../stores/ActiveWidgetStore" ;
53
- import { Skinner } from "../Skinner" ;
54
53
import AutoRageshakeStore from "../stores/AutoRageshakeStore" ;
55
54
import { IConfigOptions } from "../IConfigOptions" ;
56
55
@@ -107,7 +106,6 @@ declare global {
107
106
mxSetupEncryptionStore ?: SetupEncryptionStore ;
108
107
mxRoomScrollStateStore ?: RoomScrollStateStore ;
109
108
mxActiveWidgetStore ?: ActiveWidgetStore ;
110
- mxSkinner ?: Skinner ;
111
109
mxOnRecaptchaLoaded ?: ( ) => void ;
112
110
electron ?: Electron ;
113
111
mxSendSentryReport : ( userText : string , issueUrl : string , error : Error ) => Promise < void > ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,21 +15,11 @@ See the License for the specific language governing permissions and
15
15
limitations under the License.
16
16
*/
17
17
18
- import Skinner , { ISkinObject } from './Skinner' ;
19
-
20
18
// Import the js-sdk so the proper `request` object can be set. This does some
21
19
// magic with the browser injection to make all subsequent imports work fine.
22
20
import "matrix-js-sdk/src/browser-index" ;
23
21
24
- export function loadSkin ( skinObject : ISkinObject ) : void {
25
- Skinner . load ( skinObject ) ;
26
- }
27
-
28
- export function resetSkin ( ) : void {
29
- Skinner . reset ( ) ;
30
- }
31
-
32
22
export function getComponent ( componentName : string ) : any {
33
- return Skinner . getComponent ( componentName ) ;
23
+ // return Skinner.getComponent(componentName);
34
24
}
35
25
Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ import * as sdk from "../src/index";
24
24
25
25
const components = { } ;
26
26
27
- sdk . loadSkin ( { components } ) ;
27
+ // sdk.loadSkin({ components });
28
28
29
29
export default sdk ;
Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ components['views.messages.MessageTimestamp'] = stubComponent({ displayName: 'Me
23
23
components [ 'views.messages.SenderProfile' ] = stubComponent ( { displayName : 'SenderProfile' } ) ;
24
24
components [ 'views.rooms.SearchBar' ] = stubComponent ( ) ;
25
25
26
- sdk . loadSkin ( { components } ) ;
26
+ // sdk.loadSkin({ components });
27
27
28
28
export default sdk ;
You can’t perform that action at this time.
0 commit comments