From 4fb3247755ba4cf15abe50304f6c397d102edcb9 Mon Sep 17 00:00:00 2001 From: Poker Date: Wed, 6 Mar 2024 02:04:11 +0800 Subject: [PATCH] Simplify AppBarButton collapse behavior (#353) --- src/Pixeval/App.xaml.cs | 1 + .../IllustrationViewerPage.xaml | 48 ++++++++----------- .../IllustrationViewerPage.xaml.cs | 23 ++------- 3 files changed, 26 insertions(+), 46 deletions(-) diff --git a/src/Pixeval/App.xaml.cs b/src/Pixeval/App.xaml.cs index bc26a387..dbf0fe36 100644 --- a/src/Pixeval/App.xaml.cs +++ b/src/Pixeval/App.xaml.cs @@ -63,6 +63,7 @@ public partial class App protected override async void OnLaunched(LaunchActivatedEventArgs args) { + Resources["DefaultAppBarButtonStyle"].To