Fix Build

This commit is contained in:
砍砍
2024-12-06 17:42:19 +08:00
parent 28f8f71e0a
commit af3fa410a6
2 changed files with 5 additions and 3 deletions

View File

@@ -420,6 +420,7 @@
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = 73YMMDVT2M;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
INFOPLIST_FILE = App/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
@@ -450,6 +451,7 @@
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = 73YMMDVT2M;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
INFOPLIST_FILE = App/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
IPHONEOS_DEPLOYMENT_TARGET = 16.0;

View File

@@ -99,7 +99,7 @@ public class IntelligentsChatController: UIViewController {
tableView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
tableView.bottomAnchor.constraint(equalTo: inputBox.topAnchor),
].forEach { $0.isActive = true }
view.addSubview(progressView)
progressView.hidesWhenStopped = true
progressView.stopAnimating()
@@ -109,14 +109,14 @@ public class IntelligentsChatController: UIViewController {
progressView.centerYAnchor.constraint(equalTo: inputBox.centerYAnchor),
].forEach { $0.isActive = true }
progressView.style = .large
inputBox.editor.controlBanner.sendButton.addTarget(
self,
action: #selector(send),
for: .touchUpInside
)
}
@objc func send() {
assert(Thread.isMainThread)
}