forked from I2P_Developers/i2p.i2p
* Console: Add ability to hide news
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user