From 421e498bb52e84b8e99e1f55832c31c4e91e815b Mon Sep 17 00:00:00 2001 From: LanZhan Date: Thu, 4 Sep 2025 20:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=89=E5=A4=A7=E9=87=91?= =?UTF-8?q?=E5=88=9A=E9=94=AE=E9=A2=9C=E8=89=B2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- The Untamed Music Player/Views/ShellPage.xaml | 1 - The Untamed Music Player/Views/ShellPage.xaml.cs | 5 ----- 2 files changed, 6 deletions(-) diff --git a/The Untamed Music Player/Views/ShellPage.xaml b/The Untamed Music Player/Views/ShellPage.xaml index d7a6050..80e2b0c 100644 --- a/The Untamed Music Player/Views/ShellPage.xaml +++ b/The Untamed Music Player/Views/ShellPage.xaml @@ -6,7 +6,6 @@ xmlns:helper="using:The_Untamed_Music_Player.Helpers" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="using:CommunityToolkit.WinUI" - Loaded="ShellPage_Loaded" Unloaded="ShellPage_Unloaded"> diff --git a/The Untamed Music Player/Views/ShellPage.xaml.cs b/The Untamed Music Player/Views/ShellPage.xaml.cs index 4864987..3e510ec 100644 --- a/The Untamed Music Player/Views/ShellPage.xaml.cs +++ b/The Untamed Music Player/Views/ShellPage.xaml.cs @@ -45,11 +45,6 @@ public sealed partial class ShellPage : Page, IRecipient } } - private void ShellPage_Loaded(object sender, RoutedEventArgs e) - { - TitleBarHelper.UpdateTitleBar(RequestedTheme); - } - private void ShellPage_Unloaded(object sender, RoutedEventArgs e) { StrongReferenceMessenger.Default.Unregister(this);