File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ private async Task InitializeServicesAsync(CancellationToken cancellationToken =
193
193
194
194
// Don't attempt to connect if we failed to load credentials or reconnect.
195
195
// This will prevent the app from trying to connect to the VPN service.
196
- dependenciesLoaded = false ;
196
+ dependenciesLoaded = false ;
197
197
}
198
198
199
199
var attemptCoderConnection = settingsTask . Result ? . ConnectOnLaunch ?? false ;
Original file line number Diff line number Diff line change 13
13
xmlns : controls =" using:CommunityToolkit.WinUI.Controls"
14
14
mc : Ignorable =" d"
15
15
Background =" {ThemeResource ApplicationPageBackgroundThemeBrush}" >
16
-
17
16
<Page .Resources>
18
- <!-- These styles can be referenced to create a consistent SettingsPage layout -->
19
-
20
17
<!-- Spacing between cards -->
21
18
<x : Double x : Key =" SettingsCardSpacing" >4</x : Double >
22
-
23
19
<!-- Style (inc. the correct spacing) of a section header -->
24
20
<Style x : Key =" SettingsSectionHeaderTextBlockStyle"
25
21
BasedOn =" {StaticResource BodyStrongTextBlockStyle}"
34
30
<StackPanel MaxWidth =" 1000"
35
31
HorizontalAlignment =" Stretch"
36
32
Spacing =" {StaticResource SettingsCardSpacing}" >
37
-
38
33
<TextBlock Style =" {StaticResource SettingsSectionHeaderTextBlockStyle}" Text =" Coder Desktop" />
39
-
40
34
<controls : SettingsCard Description =" This setting controls whether the Coder Desktop app starts on Windows startup."
41
35
Header =" Start on login"
42
36
HeaderIcon =" {ui:FontIcon Glyph= }"
43
37
IsEnabled =" {x:Bind ViewModel.StartOnLoginDisabled, Converter={StaticResource InverseBoolConverter}, Mode=OneWay}" >
44
38
<ToggleSwitch IsOn =" {x:Bind ViewModel.StartOnLogin, Mode=TwoWay}" />
45
39
</controls : SettingsCard >
46
-
47
40
<TextBlock Style =" {StaticResource SettingsSectionHeaderTextBlockStyle}" Text =" Coder Connect" />
48
41
<controls : SettingsCard Description =" This setting controls whether Coder Connect automatically starts with Coder Desktop. "
49
42
Header =" Connect on launch"
50
43
HeaderIcon =" {ui:FontIcon Glyph= }"
51
44
>
52
45
<ToggleSwitch IsOn =" {x:Bind ViewModel.ConnectOnLaunch, Mode=TwoWay}" />
53
46
</controls : SettingsCard >
54
-
55
47
</StackPanel >
56
48
</Grid >
57
49
</ScrollViewer >
58
-
59
50
</Page >
You can’t perform that action at this time.
0 commit comments