Skip to content

Commit 7abdba3

Browse files
committed
Fix DB sync buttons not disabled when toggle is off
1 parent 4091f81 commit 7abdba3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,7 @@
11561156
HorizontalContentAlignment="Stretch"
11571157
Click="GenerateGuidButton_Click"
11581158
CornerRadius="14"
1159+
IsEnabled="{Binding Path=IsOn, ElementName=DbToggle}"
11591160
Style="{ThemeResource AccentButtonStyle}">
11601161
<Grid ColumnSpacing="12">
11611162
<Grid.ColumnDefinitions>
@@ -1181,6 +1182,7 @@
11811182
HorizontalContentAlignment="Stretch"
11821183
Click="ValidateAndSaveDbButton_Click"
11831184
CornerRadius="14"
1185+
IsEnabled="{Binding Path=IsOn, ElementName=DbToggle}"
11841186
Style="{ThemeResource AccentButtonStyle}">
11851187
<Grid ColumnSpacing="12">
11861188
<Grid.ColumnDefinitions>

0 commit comments

Comments
 (0)