blob: b62140e93ccce132c99d4650b64f65fbdd69fc4e [file] [log] [blame]
Adrià Vilanova Martínez3c13a762024-11-09 23:03:32 +01001import Script from '../../../../common/architecture/scripts/Script';
2import InjectLitComponentsScript from '../../../../presentation/standaloneScripts/litComponents/injectLitComponents.script';
3import FlattenThreadsReplyActionHandler from '../../core/replyActionHandler';
4
5export default class FlattenThreadsSetUpReplyActionHandlerScript extends Script {
6 page: never;
7 environment: never;
8 runPhase: never;
9 runAfter = [InjectLitComponentsScript];
10
11 constructor(
12 private flattenThreadsReplyActionHandler: FlattenThreadsReplyActionHandler,
13 ) {
14 super();
15 }
16
17 execute() {
18 this.flattenThreadsReplyActionHandler.handleIfApplicable();
19 }
20}