Move text styles to core UI.

This commit is contained in:
Alex Hart
2026-02-04 13:13:49 -04:00
committed by GitHub
parent c274805eb0
commit a74651d915
22 changed files with 41 additions and 36 deletions

View File

@@ -207,7 +207,7 @@ public class ConfirmPaymentFragment extends BottomSheetDialogFragment {
private static CharSequence mono(Context context, CharSequence address) {
SpannableString spannable = new SpannableString(address);
spannable.setSpan(new TextAppearanceSpan(context, R.style.TextAppearance_Signal_Mono),
spannable.setSpan(new TextAppearanceSpan(context, org.signal.core.ui.R.style.TextAppearance_Signal_Mono),
0,
address.length(),
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);

View File

@@ -192,7 +192,7 @@ public final class PaymentDetailsFragment extends LoggingFragment {
private static @NonNull CharSequence mono(@NonNull Context context, @NonNull CharSequence address) {
SpannableString spannable = new SpannableString(address);
spannable.setSpan(new TextAppearanceSpan(context, R.style.TextAppearance_Signal_Mono),
spannable.setSpan(new TextAppearanceSpan(context, org.signal.core.ui.R.style.TextAppearance_Signal_Mono),
0,
address.length(),
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);