Skip to content

Commit

Permalink
Remove assertion error in recipient preferences.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-signal authored and greyson-signal committed Dec 4, 2019
1 parent fe1838d commit 977591a
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -194,9 +194,10 @@ private void initializeToolbar() {
() -> DatabaseFactory.getThreadDatabase(this).getThreadIdFor(recipientId),
(threadId) -> {
if (threadId == null) {
throw new AssertionError();
Log.i(TAG, "No thread id for recipient.");
} else {
this.threadPhotoRailLabel.setOnClickListener(v -> startActivity(MediaOverviewActivity.forThread(this, threadId)));
}
this.threadPhotoRailLabel.setOnClickListener(v -> startActivity(MediaOverviewActivity.forThread(this, threadId)));
}
);

Expand Down

0 comments on commit 977591a

Please sign in to comment.