mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 10:31:50 +08:00
Fix Build
This commit is contained in:
@@ -420,6 +420,7 @@
|
|||||||
CURRENT_PROJECT_VERSION = 12;
|
CURRENT_PROJECT_VERSION = 12;
|
||||||
DEVELOPMENT_TEAM = 73YMMDVT2M;
|
DEVELOPMENT_TEAM = 73YMMDVT2M;
|
||||||
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M;
|
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M;
|
||||||
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||||
INFOPLIST_FILE = App/Info.plist;
|
INFOPLIST_FILE = App/Info.plist;
|
||||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
|
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
|
||||||
@@ -450,6 +451,7 @@
|
|||||||
CURRENT_PROJECT_VERSION = 12;
|
CURRENT_PROJECT_VERSION = 12;
|
||||||
DEVELOPMENT_TEAM = 73YMMDVT2M;
|
DEVELOPMENT_TEAM = 73YMMDVT2M;
|
||||||
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M;
|
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M;
|
||||||
|
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||||
INFOPLIST_FILE = App/Info.plist;
|
INFOPLIST_FILE = App/Info.plist;
|
||||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
|
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
|
||||||
|
|||||||
+3
-3
@@ -99,7 +99,7 @@ public class IntelligentsChatController: UIViewController {
|
|||||||
tableView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
|
tableView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
|
||||||
tableView.bottomAnchor.constraint(equalTo: inputBox.topAnchor),
|
tableView.bottomAnchor.constraint(equalTo: inputBox.topAnchor),
|
||||||
].forEach { $0.isActive = true }
|
].forEach { $0.isActive = true }
|
||||||
|
|
||||||
view.addSubview(progressView)
|
view.addSubview(progressView)
|
||||||
progressView.hidesWhenStopped = true
|
progressView.hidesWhenStopped = true
|
||||||
progressView.stopAnimating()
|
progressView.stopAnimating()
|
||||||
@@ -109,14 +109,14 @@ public class IntelligentsChatController: UIViewController {
|
|||||||
progressView.centerYAnchor.constraint(equalTo: inputBox.centerYAnchor),
|
progressView.centerYAnchor.constraint(equalTo: inputBox.centerYAnchor),
|
||||||
].forEach { $0.isActive = true }
|
].forEach { $0.isActive = true }
|
||||||
progressView.style = .large
|
progressView.style = .large
|
||||||
|
|
||||||
inputBox.editor.controlBanner.sendButton.addTarget(
|
inputBox.editor.controlBanner.sendButton.addTarget(
|
||||||
self,
|
self,
|
||||||
action: #selector(send),
|
action: #selector(send),
|
||||||
for: .touchUpInside
|
for: .touchUpInside
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func send() {
|
@objc func send() {
|
||||||
assert(Thread.isMainThread)
|
assert(Thread.isMainThread)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user