Remove assertion error in recipient preferences.

fork-5.53.8
Alan Evans 2019-12-04 10:11:49 -05:00 zatwierdzone przez Greyson Parrelli
rodzic fe1838d3fe
commit 977591ac82
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -194,9 +194,10 @@ public class RecipientPreferenceActivity extends PassphraseRequiredActionBarActi
() -> 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)));
}
);