From db93d36c06098b719350c75a0eaa12b1af1b8fa2 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sat, 23 Sep 2023 17:00:06 +0200 Subject: [PATCH] Code cleanup --- Deliveroo/Windows/TurnInWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Deliveroo/Windows/TurnInWindow.cs b/Deliveroo/Windows/TurnInWindow.cs index 6d1a247..c141c5b 100644 --- a/Deliveroo/Windows/TurnInWindow.cs +++ b/Deliveroo/Windows/TurnInWindow.cs @@ -20,7 +20,7 @@ internal sealed class TurnInWindow : Window private readonly Configuration _configuration; private readonly GcRewardsCache _gcRewardsCache; private readonly ConfigWindow _configWindow; - private int _selectedAutoBuyItem = 0; + private int _selectedAutoBuyItem; public TurnInWindow(DeliverooPlugin plugin, DalamudPluginInterface pluginInterface, Configuration configuration, GcRewardsCache gcRewardsCache, ConfigWindow configWindow) @@ -41,9 +41,9 @@ internal sealed class TurnInWindow : Window public bool State { get; set; } public decimal Multiplier { private get; set; } - public string Error { private get; set; } + public string Error { private get; set; } = string.Empty; - public uint SelectedItemId + private uint SelectedItemId { get {