fix(MessageView): unbreak GIF unfurling
- need to refer to the RootStore singleton under an alias now Fixes #16368
This commit is contained in:
parent
894a5f19c9
commit
42423074de
|
@ -947,9 +947,9 @@ Loader {
|
||||||
Global.openMenu(imageContextMenuComponent, item, { url: url, domain: domain, requireConfirmationOnOpen: true })
|
Global.openMenu(imageContextMenuComponent, item, { url: url, domain: domain, requireConfirmationOnOpen: true })
|
||||||
}
|
}
|
||||||
onHoveredLinkChanged: delegate.highlightedLink = linksMessageView.hoveredLink
|
onHoveredLinkChanged: delegate.highlightedLink = linksMessageView.hoveredLink
|
||||||
gifUnfurlingEnabled: RootStore.gifUnfurlingEnabled
|
gifUnfurlingEnabled: SharedStores.RootStore.gifUnfurlingEnabled
|
||||||
canAskToUnfurlGifs: !RootStore.neverAskAboutUnfurlingAgain
|
canAskToUnfurlGifs: !SharedStores.RootStore.neverAskAboutUnfurlingAgain
|
||||||
onSetNeverAskAboutUnfurlingAgain: RootStore.setNeverAskAboutUnfurlingAgain(neverAskAgain)
|
onSetNeverAskAboutUnfurlingAgain: SharedStores.RootStore.setNeverAskAboutUnfurlingAgain(neverAskAgain)
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
root.messageStore.messageModule.forceLinkPreviewsLocalData(root.messageId)
|
root.messageStore.messageModule.forceLinkPreviewsLocalData(root.messageId)
|
||||||
|
|
Loading…
Reference in New Issue