Flea market filter back button

This commit is contained in:
Tyfon
2024-05-23 16:19:26 -07:00
parent b4c404f8d7
commit d101157345
5 changed files with 295 additions and 21 deletions

View File

@@ -26,7 +26,8 @@ namespace UIFixes
private const string InventorySection = "3. Inventory";
private const string InspectSection = "4. Inspect Windows";
private const string InRaidSection = "5. In Raid";
private const string AdvancedSection = "6. Advanced";
private const string FleaMarketSection = "6. Flea Market";
private const string AdvancedSection = "7. Advanced";
// General
public static ConfigEntry<WeaponPresetConfirmationOption> ShowPresetConfirmations { get; set; }
@@ -54,6 +55,9 @@ namespace UIFixes
// In Raid
public static ConfigEntry<bool> RemoveDisabledActions { get; set; }
// Flea Market
public static ConfigEntry<bool> EnableFleaHistory { get; set; }
// Advanced
public static ConfigEntry<bool> StyleItemPanel { get; set; }
@@ -210,6 +214,16 @@ namespace UIFixes
null,
new ConfigurationManagerAttributes { })));
// Flea Market
configEntries.Add(EnableFleaHistory = config.Bind(
FleaMarketSection,
"Show Filter Back Button",
true,
new ConfigDescription(
"Keep a history of flea market searches and filters, and show a back button to navigate it",
null,
new ConfigurationManagerAttributes { })));
// Advanced
configEntries.Add(StyleItemPanel = config.Bind(
AdvancedSection,