From 0a5c6dbc9c438b74264bf68209e99a2048d3493c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Mon, 29 Jun 2026 11:32:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AppHomeView=20=E5=B0=86=20import=20UserN?= =?UTF-8?q?otifications=20=E7=A7=BB=E8=87=B3=E6=96=87=E4=BB=B6=E9=A1=B6?= =?UTF-8?q?=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Swift 不允许 import 在文件中间位置,导致编译警告。 Co-Authored-By: Claude Sonnet 4.6 --- Shared/AppHomeView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shared/AppHomeView.swift b/Shared/AppHomeView.swift index 793648d..95e6fd1 100644 --- a/Shared/AppHomeView.swift +++ b/Shared/AppHomeView.swift @@ -1,4 +1,5 @@ import SwiftUI +import UserNotifications import XuqmCoreSDK import XuqmWebViewSDK import XuqmUpdateSDK @@ -456,5 +457,3 @@ private extension Color { } } -// MARK: - UserNotifications import (only needed at call sites above) -import UserNotifications