Fix crash in review card repository.
This commit is contained in:
parent
70378b85d7
commit
f49e2768c1
1 changed files with 0 additions and 4 deletions
|
@ -60,10 +60,6 @@ class ReviewCardRepository {
|
|||
}
|
||||
|
||||
void block(@NonNull ReviewCard reviewCard, @NonNull Runnable onActionCompleteListener) {
|
||||
if (recipientId == null) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
SignalExecutors.BOUNDED.execute(() -> {
|
||||
RecipientUtil.blockNonGroup(context, reviewCard.getReviewRecipient());
|
||||
onActionCompleteListener.run();
|
||||
|
|
Loading…
Add table
Reference in a new issue