mirror of https://github.com/M66B/FairEmail.git
Revert "Experiment: mark clicked links"
This reverts commit ab224f1103
.
This commit is contained in:
parent
13bbe4b3a8
commit
53e5753165
2
FAQ.md
2
FAQ.md
|
@ -2811,7 +2811,7 @@ Reformatting and displaying such messages will take too long. You can try to use
|
|||
<a name="faq125"></a>
|
||||
**(125) What are the current experimental features?**
|
||||
|
||||
* Mark clicked links by changing the link color
|
||||
* ...
|
||||
|
||||
<br />
|
||||
|
||||
|
|
|
@ -4117,15 +4117,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (url.equals(title))
|
||||
title = null;
|
||||
|
||||
if (onOpenLink(uri, title)) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(widget.getContext());
|
||||
boolean experiments = prefs.getBoolean("experiments", false);
|
||||
if (experiments) {
|
||||
int colorPrimary = Helper.resolveColor(widget.getContext(), android.R.attr.textColorPrimary);
|
||||
buffer.setSpan(new ForegroundColorSpan(colorPrimary), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
}
|
||||
if (onOpenLink(uri, title))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
ImageSpan[] image = buffer.getSpans(off, off, ImageSpan.class);
|
||||
|
|
Loading…
Reference in New Issue