File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public Preferences()
25
25
{
26
26
this . InitializeComponent ( ) ;
27
27
28
- if ( App . AppSettings != null )
28
+ if ( App . AppSettings != null && localSettings . Values [ "customLocationsSetting" ] != null )
29
29
{
30
30
if ( localSettings . Values [ "customLocationsSetting" ] . Equals ( true ) )
31
31
{
@@ -90,10 +90,6 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
90
90
{
91
91
base . OnNavigatedTo ( e ) ;
92
92
93
- var terminals = App . AppSettings . Terminals ;
94
-
95
- foreach ( var terminal in terminals ) App . AppSettings . Terminals . Add ( terminal ) ;
96
-
97
93
var terminalId = 1 ;
98
94
if ( localSettings . Values [ "terminal_id" ] != null ) terminalId = ( int ) localSettings . Values [ "terminal_id" ] ;
99
95
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ public SettingsViewModel()
31
31
DetectApplicationTheme ( ) ;
32
32
DetectDateTimeFormat ( ) ;
33
33
DetectSidebarOpacity ( ) ;
34
-
35
34
DrivesManager = new DrivesManager ( ) ;
36
35
37
36
foundDrives = DrivesManager . Drives ;
37
+ LoadTerminalApps ( ) ;
38
38
}
39
39
40
40
private void DetectSidebarOpacity ( )
You can’t perform that action at this time.
0 commit comments