Skip to content

Commit 105af70

Browse files
committed
Refactor
1 parent 6a47303 commit 105af70

File tree

3 files changed

+573
-483
lines changed

3 files changed

+573
-483
lines changed

src/Files.App/ServicesImplementation/Settings/PreferencesSettingsService.cs

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,66 @@ public FolderLayoutModes DefaultLayoutMode
189189
set => Set((long)value);
190190
}
191191

192+
public double TagColumnWidth
193+
{
194+
get => Get(200d);
195+
set
196+
{
197+
if (value != 0)
198+
Set(value);
199+
}
200+
}
201+
202+
public double NameColumnWidth
203+
{
204+
get => Get(200d);
205+
set
206+
{
207+
if (value != 0)
208+
Set(value);
209+
}
210+
}
211+
212+
public double DateModifiedColumnWidth
213+
{
214+
get => Get(200d);
215+
set
216+
{
217+
if (value != 0)
218+
Set(value);
219+
}
220+
}
221+
222+
public double TypeColumnWidth
223+
{
224+
get => Get(200d);
225+
set
226+
{
227+
if (value != 0)
228+
Set(value);
229+
}
230+
}
231+
232+
public double DateCreatedColumnWidth
233+
{
234+
get => Get(200d);
235+
set
236+
{
237+
if (value != 0)
238+
Set(value);
239+
}
240+
}
241+
242+
public double SizeColumnWidth
243+
{
244+
get => Get(200d);
245+
set
246+
{
247+
if (value != 0)
248+
Set(value);
249+
}
250+
}
251+
192252
protected override void RaiseOnSettingChangedEvent(object sender, SettingChangedEventArgs e)
193253
{
194254
switch (e.SettingName)

0 commit comments

Comments
 (0)