* Console: Add ability to hide news

This commit is contained in:
zzz
2011-11-09 18:38:39 +00:00
parent af42b9e9a8
commit 37e3e9e2cf
8 changed files with 93 additions and 41 deletions

View File

@@ -17,4 +17,9 @@ public class NewsHelper extends ContentHelper {
_page = (new File(_context.getBaseDir(), "docs/initialNews/initialNews.xml")).getAbsolutePath();
return super.getContent();
}
/** @since 0.8.12 */
public boolean shouldShowNews() {
return NewsFetcher.getInstance(_context).shouldShowNews();
}
}