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 })
|
||||
}
|
||||
onHoveredLinkChanged: delegate.highlightedLink = linksMessageView.hoveredLink
|
||||
gifUnfurlingEnabled: RootStore.gifUnfurlingEnabled
|
||||
canAskToUnfurlGifs: !RootStore.neverAskAboutUnfurlingAgain
|
||||
onSetNeverAskAboutUnfurlingAgain: RootStore.setNeverAskAboutUnfurlingAgain(neverAskAgain)
|
||||
gifUnfurlingEnabled: SharedStores.RootStore.gifUnfurlingEnabled
|
||||
canAskToUnfurlGifs: !SharedStores.RootStore.neverAskAboutUnfurlingAgain
|
||||
onSetNeverAskAboutUnfurlingAgain: SharedStores.RootStore.setNeverAskAboutUnfurlingAgain(neverAskAgain)
|
||||
|
||||
Component.onCompleted: {
|
||||
root.messageStore.messageModule.forceLinkPreviewsLocalData(root.messageId)
|
||||
|
|
Loading…
Reference in New Issue