Merge pull request #5502 from element-hq/feature/fga/fix_multiaccount_image_loader
fix(image loader): makes sure images are loaded when cancelling multiaccount flow
This commit is contained in:
commit
a4707a787a
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ class LoggedInAppScopeFlowNode(
|
|||
override fun onBuilt() {
|
||||
super.onBuilt()
|
||||
lifecycle.subscribe(
|
||||
onCreate = {
|
||||
onResume = {
|
||||
SingletonImageLoader.setUnsafe(imageLoaderHolder.get(inputs.matrixClient))
|
||||
},
|
||||
)
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ class NotLoggedInFlowNode(
|
|||
override fun onBuilt() {
|
||||
super.onBuilt()
|
||||
lifecycle.subscribe(
|
||||
onCreate = {
|
||||
onResume = {
|
||||
SingletonImageLoader.setUnsafe(notLoggedInImageLoaderFactory.newImageLoader())
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue