forked from I2P_Developers/i2p.i2p
remove search box
This commit is contained in:
@ -21,6 +21,7 @@ public class HomeHelper extends HelperBase {
|
||||
static final String PROP_SERVICES = "routerconsole.services";
|
||||
static final String PROP_FAVORITES = "routerconsole.favorites";
|
||||
static final String PROP_OLDHOME = "routerconsole.oldHomePage";
|
||||
private static final String PROP_SEARCH = "routerconsole.showSearch";
|
||||
|
||||
static final String DEFAULT_SERVICES =
|
||||
_x("Addressbook") + S + _x("Manage your I2P hosts file here (I2P domain name resolution)") + S + "/susidns/index" + S + I + "book_addresses.png" + S +
|
||||
@ -62,6 +63,10 @@ public class HomeHelper extends HelperBase {
|
||||
return _context.getProperty(Messages.PROP_LANG) == null;
|
||||
}
|
||||
|
||||
public boolean shouldShowSearch() {
|
||||
return _context.getBooleanProperty(PROP_SEARCH);
|
||||
}
|
||||
|
||||
public String getServices() {
|
||||
List<App> plugins = NavHelper.getClientApps(_context);
|
||||
return homeTable(PROP_SERVICES, DEFAULT_SERVICES, plugins);
|
||||
|
Reference in New Issue
Block a user