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 =
193193
194194 // Don't attempt to connect if we failed to load credentials or reconnect.
195195 // This will prevent the app from trying to connect to the VPN service.
196- dependenciesLoaded = false ;
196+ dependenciesLoaded = false ;
197197 }
198198
199199 var attemptCoderConnection = settingsTask . Result ? . ConnectOnLaunch ?? false ;
Original file line number Diff line number Diff line change 1313 xmlns : controls =" using:CommunityToolkit.WinUI.Controls"
1414 mc : Ignorable =" d"
1515 Background =" {ThemeResource ApplicationPageBackgroundThemeBrush}" >
16-
1716 <Page .Resources>
18- <!-- These styles can be referenced to create a consistent SettingsPage layout -->
19-
2017 <!-- Spacing between cards -->
2118 <x : Double x : Key =" SettingsCardSpacing" >4</x : Double >
22-
2319 <!-- Style (inc. the correct spacing) of a section header -->
2420 <Style x : Key =" SettingsSectionHeaderTextBlockStyle"
2521 BasedOn =" {StaticResource BodyStrongTextBlockStyle}"
3430 <StackPanel MaxWidth =" 1000"
3531 HorizontalAlignment =" Stretch"
3632 Spacing =" {StaticResource SettingsCardSpacing}" >
37-
3833 <TextBlock Style =" {StaticResource SettingsSectionHeaderTextBlockStyle}" Text =" Coder Desktop" />
39-
4034 <controls : SettingsCard Description =" This setting controls whether the Coder Desktop app starts on Windows startup."
4135 Header =" Start on login"
4236 HeaderIcon =" {ui:FontIcon Glyph= }"
4337 IsEnabled =" {x:Bind ViewModel.StartOnLoginDisabled, Converter={StaticResource InverseBoolConverter}, Mode=OneWay}" >
4438 <ToggleSwitch IsOn =" {x:Bind ViewModel.StartOnLogin, Mode=TwoWay}" />
4539 </controls : SettingsCard >
46-
4740 <TextBlock Style =" {StaticResource SettingsSectionHeaderTextBlockStyle}" Text =" Coder Connect" />
4841 <controls : SettingsCard Description =" This setting controls whether Coder Connect automatically starts with Coder Desktop. "
4942 Header =" Connect on launch"
5043 HeaderIcon =" {ui:FontIcon Glyph= }"
5144 >
5245 <ToggleSwitch IsOn =" {x:Bind ViewModel.ConnectOnLaunch, Mode=TwoWay}" />
5346 </controls : SettingsCard >
54-
5547 </StackPanel >
5648 </Grid >
5749 </ScrollViewer >
58-
5950</Page >
You can’t perform that action at this time.
0 commit comments