Small layout change

pull/203/head
M66B 4 years ago
parent b5580ad2e9
commit dc2525d37a

@ -628,7 +628,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
try { try {
int textColorLink = Helper.resolveColor(context, android.R.attr.textColorLink); int textColorLink = Helper.resolveColor(context, android.R.attr.textColorLink);
int colorSeparator = Helper.resolveColor(context, R.attr.colorSeparator); int textColorSecondary = Helper.resolveColor(context, android.R.attr.textColorSecondary);
int colorWarning = Helper.resolveColor(context, R.attr.colorWarning); int colorWarning = Helper.resolveColor(context, R.attr.colorWarning);
if ("tel".equals(scheme)) { if ("tel".equals(scheme)) {
@ -651,7 +651,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
ssb.setSpan(new StyleSpan(Typeface.BOLD), ssb.setSpan(new StyleSpan(Typeface.BOLD),
index, index + scheme.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); index, index + scheme.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
} else } else
ssb.setSpan(new ForegroundColorSpan(colorSeparator), ssb.setSpan(new ForegroundColorSpan(textColorSecondary),
index, index + scheme.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); index, index + scheme.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
} }

Loading…
Cancel
Save