mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Move text styles to core UI.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user