Merge pull request #4 from dontcallmedom/master

Blue links on dark theme are not readable
This commit is contained in:
Andrew Dolgov 2012-01-31 21:57:01 -08:00
commit 8443d8702a

View File

@ -102,7 +102,7 @@ public class ArticleFragment extends Fragment {
ws.setBuiltInZoomControls(true); ws.setBuiltInZoomControls(true);
if (m_prefs.getString("theme", "THEME_DARK").equals("THEME_DARK")) { if (m_prefs.getString("theme", "THEME_DARK").equals("THEME_DARK")) {
cssOverride = "body { background : black; color : #e0e0e0}\n"; cssOverride = "body { background : black; color : #e0e0e0}\na:link {color: #00aae0;} \na:visited { color: #aaaae0;}\n";
web.setBackgroundColor(android.R.color.black); web.setBackgroundColor(android.R.color.black);
} else { } else {
cssOverride = ""; cssOverride = "";