uplink and store freshening (#26444)
* uplink and store freshening * more * im gonna POOOOOOGGGGGGG * we love it
This commit is contained in:
@@ -17,7 +17,7 @@ public sealed class StoreBoundUserInterface : BoundUserInterface
|
||||
private string _windowName = Loc.GetString("store-ui-default-title");
|
||||
|
||||
[ViewVariables]
|
||||
private string _search = "";
|
||||
private string _search = string.Empty;
|
||||
|
||||
[ViewVariables]
|
||||
private HashSet<ListingData> _listings = new();
|
||||
@@ -41,7 +41,7 @@ public sealed class StoreBoundUserInterface : BoundUserInterface
|
||||
_menu.OnCategoryButtonPressed += (_, category) =>
|
||||
{
|
||||
_menu.CurrentCategory = category;
|
||||
SendMessage(new StoreRequestUpdateInterfaceMessage());
|
||||
_menu?.UpdateListing();
|
||||
};
|
||||
|
||||
_menu.OnWithdrawAttempt += (_, type, amount) =>
|
||||
@@ -49,11 +49,6 @@ public sealed class StoreBoundUserInterface : BoundUserInterface
|
||||
SendMessage(new StoreRequestWithdrawMessage(type, amount));
|
||||
};
|
||||
|
||||
_menu.OnRefreshButtonPressed += (_) =>
|
||||
{
|
||||
SendMessage(new StoreRequestUpdateInterfaceMessage());
|
||||
};
|
||||
|
||||
_menu.SearchTextUpdated += (_, search) =>
|
||||
{
|
||||
_search = search.Trim().ToLowerInvariant();
|
||||
|
||||
Reference in New Issue
Block a user