The tabs in json at the bottom of the call to get-stash-items has a member called "hidden" see below. For whatever reason I have 11 tabs (I really only have access in game to 10). Right now the program will just display this extra "1" tab. It wont crash, but is not quite right.
It was an easy fix on my end.
In Models.cs under the "Tab" class I added
[JsonProperty(PropertyName = "hidden")]
public bool hidden { get; set; }
In PoeConnector.cs in the FetchTabs method I changed
List tabs = stash.Tabs;
to
List tabs = stash.Tabs.Where(t => !t.hidden).ToList();
{
"n": "1",
"i": 1,
"hidden": true,
"selected": false,
"colour": {
"r": 124,
"g": 84,
"b": 54
},
.
.
The tabs in json at the bottom of the call to get-stash-items has a member called "hidden" see below. For whatever reason I have 11 tabs (I really only have access in game to 10). Right now the program will just display this extra "1" tab. It wont crash, but is not quite right.
It was an easy fix on my end.
In Models.cs under the "Tab" class I added
[JsonProperty(PropertyName = "hidden")]
public bool hidden { get; set; }
In PoeConnector.cs in the FetchTabs method I changed
List tabs = stash.Tabs;
to
List tabs = stash.Tabs.Where(t => !t.hidden).ToList();
{
"n": "1",
"i": 1,
"hidden": true,
"selected": false,
"colour": {
"r": 124,
"g": 84,
"b": 54
},
.
.