From b395e5ea758b24803743535f86bf443765237551 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期一, 18 九月 2023 18:17:17 +0800 Subject: [PATCH] 完善二期版本 --- WanPai/Common/View/AgreentView.swift | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WanPai/Common/View/AgreentView.swift b/WanPai/Common/View/AgreentView.swift index 504fa7f..77a5bf6 100644 --- a/WanPai/Common/View/AgreentView.swift +++ b/WanPai/Common/View/AgreentView.swift @@ -30,11 +30,11 @@ static func show(type:AgreentType,content:String? = nil){ let alertView = AgreentView.jq_loadNibView() - alertView.frame = screnDelegate?.window?.frame ?? .zero + alertView.frame = sceneDelegate?.window?.frame ?? .zero alertView.type = type alertView.label_title.text = type.titleStr alertView.content = content - screnDelegate?.window?.addSubview(alertView) + sceneDelegate?.window?.addSubview(alertView) alertView.bottom_cons.constant = 0 UIView.animate(withDuration: 0.4) { -- Gitblit v1.7.1