Fix activate getting cut off in activation dialog.
This commit is contained in:
parent
6ddfbcb945
commit
f87fc1d639
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ import androidx.recyclerview.widget.RecyclerView;
|
|||
|
||||
import com.airbnb.lottie.LottieAnimationView;
|
||||
import com.annimon.stream.Stream;
|
||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
|
||||
import com.google.android.material.snackbar.Snackbar;
|
||||
|
||||
import org.signal.core.util.logging.Log;
|
||||
|
@ -244,7 +245,7 @@ public class PaymentsHomeFragment extends LoggingFragment {
|
|||
class HomeCallbacks implements PaymentsHomeAdapter.Callbacks {
|
||||
@Override
|
||||
public void onActivatePayments() {
|
||||
new AlertDialog.Builder(requireContext())
|
||||
new MaterialAlertDialogBuilder(requireContext())
|
||||
.setMessage(R.string.PaymentsHomeFragment__you_can_use_signal_to_send)
|
||||
.setPositiveButton(R.string.PaymentsHomeFragment__activate, (dialog, which) -> {
|
||||
viewModel.activatePayments();
|
||||
|
|
Loading…
Add table
Reference in a new issue