Add undo-ability to call tab deletion.

This commit is contained in:
Alex Hart
2023-03-20 13:16:56 -03:00
committed by Greyson Parrelli
parent 4d735d23b6
commit 1c3636eedd
19 changed files with 262 additions and 67 deletions

View File

@@ -71,7 +71,7 @@ public class PaymentRecipientSelectionFragment extends LoggingFragment implement
}
@Override
public void onBeforeContactSelected(@NonNull Optional<RecipientId> recipientId, @Nullable String number, @NonNull Consumer<Boolean> callback) {
public void onBeforeContactSelected(boolean isFromUnknownSearchKey, @NonNull Optional<RecipientId> recipientId, @Nullable String number, @NonNull Consumer<Boolean> callback) {
if (recipientId.isPresent()) {
SimpleTask.run(getViewLifecycleOwner().getLifecycle(),
() -> Recipient.resolved(recipientId.get()),