Skip to content

Commit

Permalink
Update recipients on UI thread.
Browse files Browse the repository at this point in the history
Fixes signalapp#3402
// FREEBIE
  • Loading branch information
moxie0 committed Jun 11, 2015
1 parent ae4f6b1 commit 6caee6b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/org/thoughtcrime/securesms/ConversationActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,14 @@ private void initializeResources() {
}

@Override
public void onModified(Recipients recipients) {
titleView.setTitle(recipients);
setBlockedUserState(recipients);
public void onModified(final Recipients recipients) {
titleView.post(new Runnable() {
@Override
public void run() {
titleView.setTitle(recipients);
setBlockedUserState(recipients);
}
});
}

private void initializeReceivers() {
Expand Down

0 comments on commit 6caee6b

Please sign in to comment.