Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neil Alexander
element-android
Commits
f1919be1
Commit
f1919be1
authored
May 10, 2021
by
Valere
Browse files
code review
parent
a272f4d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
vector/src/main/java/im/vector/app/features/matrixto/MatrixToBottomSheet.kt
View file @
f1919be1
...
...
@@ -57,7 +57,7 @@ class MatrixToBottomSheet :
injector
.
inject
(
this
)
}
var
weakReference
=
WeakReference
<
InteractionListener
>(
null
)
private
var
weakReference
=
WeakReference
<
InteractionListener
>(
null
)
var
interactionListener
:
InteractionListener
?
set
(
value
)
{
...
...
vector/src/main/java/im/vector/app/features/spaces/SpaceExploreActivity.kt
View file @
f1919be1
...
...
@@ -57,6 +57,13 @@ class SpaceExploreActivity : VectorBaseActivity<ActivitySimpleBinding>(), SpaceD
}
super
.
onFragmentAttached
(
fm
,
f
,
context
)
}
override
fun
onFragmentDetached
(
fm
:
FragmentManager
,
f
:
Fragment
)
{
if
(
f
is
MatrixToBottomSheet
)
{
f
.
interactionListener
=
null
}
super
.
onFragmentDetached
(
fm
,
f
)
}
}
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment