Skip to content
Snippets Groups Projects
Commit 05ab58e9 authored by Raphaël Brulé's avatar Raphaël Brulé Committed by Adrien Béraud
Browse files

location sharing: fix thread issue

Fixes an issue regarding the location sharing
noticed on the Beta channel.

Change-Id: I3832aa50a816c0c1345e2a8f21853319f8791629
parent 6a7183c3
No related branches found
No related tags found
No related merge requests found
......@@ -294,7 +294,9 @@ public class LocationSharingFragment extends Fragment {
mDisposableBag.add(mServiceDisposableBag);
mDisposableBag.add(mShowControlsSubject.subscribe(this::setShowControls));
mDisposableBag.add(mIsSharingSubject.subscribe(this::setIsSharing));
mDisposableBag.add(mShowMapSubject.subscribe(state -> {
mDisposableBag.add(mShowMapSubject
.subscribeOn(AndroidSchedulers.mainThread())
.subscribe(state -> {
Fragment p = getParentFragment();
if (p instanceof ConversationFragment) {
ConversationFragment parent = (ConversationFragment) p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment