@@ -273,6 +273,23 @@ private async void DetectCustomLocations()
273
273
}
274
274
}
275
275
276
+ private TimeStyle _DisplayedTimeStyle = TimeStyle . Application ;
277
+ public TimeStyle DisplayedTimeStyle
278
+ {
279
+ get => _DisplayedTimeStyle ;
280
+ set
281
+ {
282
+ Set ( ref _DisplayedTimeStyle , value ) ;
283
+ if ( value . Equals ( TimeStyle . Application ) )
284
+ {
285
+ localSettings . Values [ LocalSettings . DateTimeFormat ] = "Application" ;
286
+ }
287
+ else if ( value . Equals ( TimeStyle . System ) )
288
+ {
289
+ localSettings . Values [ LocalSettings . DateTimeFormat ] = "System" ;
290
+ }
291
+ }
292
+ }
276
293
private void DetectApplicationTheme ( )
277
294
{
278
295
if ( localSettings . Values [ "theme" ] != null )
@@ -365,13 +382,6 @@ public ThemeStyle ThemeValue
365
382
}
366
383
}
367
384
368
- private bool _AreLinuxFilesSupported = false ;
369
- public bool AreLinuxFilesSupported
370
- {
371
- get => _AreLinuxFilesSupported ;
372
- set => Set ( ref _AreLinuxFilesSupported , value ) ;
373
- }
374
-
375
385
private void DetectOneDrivePreference ( )
376
386
{
377
387
if ( localSettings . Values [ "PinOneDrive" ] == null ) { localSettings . Values [ "PinOneDrive" ] = true ; }
@@ -534,6 +544,12 @@ public bool ShowRibbonContent
534
544
set => Set ( value ) ;
535
545
}
536
546
547
+ public bool AreLinuxFilesSupported
548
+ {
549
+ get => Get ( false ) ;
550
+ set => Set ( value ) ;
551
+ }
552
+
537
553
public Int32 LayoutMode
538
554
{
539
555
get => Get ( 0 ) ; // List View
@@ -563,24 +579,6 @@ public string ToggleLayoutModeIcon
563
579
}
564
580
} ) ;
565
581
566
- private TimeStyle _DisplayedTimeStyle = TimeStyle . Application ;
567
- public TimeStyle DisplayedTimeStyle
568
- {
569
- get => _DisplayedTimeStyle ;
570
- set
571
- {
572
- Set ( ref _DisplayedTimeStyle , value ) ;
573
- if ( value . Equals ( TimeStyle . Application ) )
574
- {
575
- localSettings . Values [ LocalSettings . DateTimeFormat ] = "Application" ;
576
- }
577
- else if ( value . Equals ( TimeStyle . System ) )
578
- {
579
- localSettings . Values [ LocalSettings . DateTimeFormat ] = "System" ;
580
- }
581
- }
582
- }
583
-
584
582
[ Obsolete ]
585
583
public static ObservableCollection < DriveItem > foundDrives = new ObservableCollection < DriveItem > ( ) ;
586
584
0 commit comments