adjust daily note settings to flyout

This commit is contained in:
DismissedLight
2024-05-30 21:59:49 +08:00
parent cd343843b3
commit 2232772110
2 changed files with 90 additions and 90 deletions

View File

@@ -3,7 +3,7 @@
"Snap.Hutao": {
"commandName": "MsixPackage",
"nativeDebugging": false,
"doNotLaunchApp": true,
"doNotLaunchApp": false,
"allowLocalNetworkLoopbackProperty": true
},
"[Unpackaged] Snap.Hutao": {

View File

@@ -476,23 +476,11 @@
</Flyout>
</AppBarButton.Flyout>
</AppBarButton>
<AppBarToggleButton
Icon="{shcm:FontIcon Glyph={StaticResource FontIconContentSetting}}"
IsChecked="{x:Bind SettingPaneSplitView.IsPaneOpen, Mode=TwoWay}"
Label="{shcm:ResourceString Name=ViewPageDailyNoteNotificationSetting}"/>
</CommandBar>
</Border>
</Border>
<SplitView
x:Name="SettingPaneSplitView"
Grid.Row="1"
OpenPaneLength="480"
PaneBackground="{ThemeResource SystemControlAcrylicElementMediumHighBrush}"
PanePlacement="Right">
<SplitView.Pane>
<AppBarButton Icon="{shcm:FontIcon Glyph={StaticResource FontIconContentSetting}}" Label="{shcm:ResourceString Name=ViewPageDailyNoteNotificationSetting}">
<AppBarButton.Flyout>
<Flyout Placement="BottomEdgeAlignedRight">
<ScrollViewer>
<StackPanel Margin="16" Spacing="{StaticResource SettingsCardSpacing}">
<StackPanel Spacing="{StaticResource SettingsCardSpacing}">
<StackPanel.Resources>
<x:Double x:Key="SettingsCardMinHeight">0</x:Double>
<x:Double x:Key="SettingsCardWrapThreshold">0</x:Double>
@@ -574,7 +562,19 @@
IsClickEnabled="True"/>
</StackPanel>
</ScrollViewer>
</SplitView.Pane>
</Flyout>
</AppBarButton.Flyout>
</AppBarButton>
</CommandBar>
</Border>
</Border>
<SplitView
x:Name="SettingPaneSplitView"
Grid.Row="1"
OpenPaneLength="480"
PaneBackground="{ThemeResource SystemControlAcrylicElementMediumHighBrush}"
PanePlacement="Right">
<ScrollView>
<ItemsRepeater
Margin="16"