Adrià Vilanova MartÃnez | 3c13a76 | 2024-11-09 23:03:32 +0100 | [diff] [blame] | 1 | import Script from '../../../../common/architecture/scripts/Script'; |
| 2 | import InjectLitComponentsScript from '../../../../presentation/standaloneScripts/litComponents/injectLitComponents.script'; |
| 3 | import FlattenThreadsReplyActionHandler from '../../core/replyActionHandler'; |
| 4 | |
| 5 | export 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 | } |