Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7b2491

Browse files
committed
formatting
1 parentfa4fbd8 commite7b2491

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

‎App/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
varattemptCoderConnection=settingsTask.Result?.ConnectOnLaunch??false;

‎App/Views/Pages/SettingsMainPage.xaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,9 @@
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:Doublex:Key="SettingsCardSpacing">4</x:Double>
22-
2319
<!-- Style (inc. the correct spacing) of a section header-->
2420
<Stylex:Key="SettingsSectionHeaderTextBlockStyle"
2521
BasedOn="{StaticResource BodyStrongTextBlockStyle}"
@@ -34,26 +30,21 @@
3430
<StackPanelMaxWidth="1000"
3531
HorizontalAlignment="Stretch"
3632
Spacing="{StaticResource SettingsCardSpacing}">
37-
3833
<TextBlockStyle="{StaticResource SettingsSectionHeaderTextBlockStyle}"Text="Coder Desktop" />
39-
4034
<controls:SettingsCardDescription="This setting controls whether the Coder Desktop app starts on Windows startup."
4135
Header="Start on login"
4236
HeaderIcon="{ui:FontIcon Glyph=&#xE819;}"
4337
IsEnabled="{x:Bind ViewModel.StartOnLoginDisabled, Converter={StaticResource InverseBoolConverter}, Mode=OneWay}">
4438
<ToggleSwitchIsOn="{x:Bind ViewModel.StartOnLogin, Mode=TwoWay}" />
4539
</controls:SettingsCard>
46-
4740
<TextBlockStyle="{StaticResource SettingsSectionHeaderTextBlockStyle}"Text="Coder Connect" />
4841
<controls:SettingsCardDescription="This setting controls whether Coder Connect automatically starts with Coder Desktop."
4942
Header="Connect on launch"
5043
HeaderIcon="{ui:FontIcon Glyph=&#xE8AF;}"
5144
>
5245
<ToggleSwitchIsOn="{x:Bind ViewModel.ConnectOnLaunch, Mode=TwoWay}" />
5346
</controls:SettingsCard>
54-
5547
</StackPanel>
5648
</Grid>
5749
</ScrollViewer>
58-
5950
</Page>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp