Removed ConfigHost facade around AEConfig with explicit config options

Removed unused config options
This commit is contained in:
Sebastian Hartte
2020-06-21 18:31:35 +02:00
parent dd371c2c7f
commit ee086366ed
9 changed files with 112 additions and 286 deletions
+3 -4
View File
@@ -100,8 +100,8 @@ public class ItemRepo {
this.view.ensureCapacity(this.list.size());
final Enum viewMode = this.sortSrc.getSortDisplay();
final Enum searchMode = AEConfig.instance().getConfigManager().getSetting(Settings.SEARCH_MODE);
ViewItems viewMode = this.sortSrc.getSortDisplay();
SearchBoxMode searchMode = AEConfig.instance().getTerminalSearchMode();
final boolean needsZeroCopy = viewMode == ViewItems.CRAFTABLE;
if (searchMode == SearchBoxMode.JEI_AUTOSEARCH || searchMode == SearchBoxMode.JEI_MANUAL_SEARCH
@@ -111,8 +111,7 @@ public class ItemRepo {
}
this.innerSearch = this.searchString;
final boolean terminalSearchToolTips = AEConfig.instance().getConfigManager()
.getSetting(Settings.SEARCH_TOOLTIPS) != YesNo.NO;
final boolean terminalSearchToolTips = AEConfig.instance().getSearchTooltips() != YesNo.NO;
boolean searchMod = false;
if (this.innerSearch.startsWith("@")) {