feat(ios): update dependencies to track upstream repository (#11143)

This commit is contained in:
Lakr
2025-03-28 14:12:06 +08:00
committed by GitHub
parent af91a0217f
commit 08ee84e697
108 changed files with 96 additions and 37793 deletions
@@ -102,9 +102,9 @@ extension AFFiNEViewController: IntelligentsButtonDelegate, IntelligentsFocusApe
presentIntoCurrentContext(withTargetController: controller)
})
}
view.present(menu: .init(children: actions)) { menu in
menu.overrideUserInterfaceStyle = .dark
}
view.present(menu: .init(children: actions)) { controller in
controller.overrideUserInterfaceStyle = .dark
} controllerDidPresent: { _ in }
case .summary:
let controller = IntelligentsEphemeralActionController(
action: .summarize
@@ -46,6 +46,15 @@ class AFFiNEViewController: CAPBridgeViewController {
super.viewDidAppear(animated)
navigationController?.setNavigationBarHidden(false, animated: animated)
}
#if DEBUG
override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
super.motionEnded(motion, with: event)
if motion == .motionShake {
presentIntelligentsButton()
}
}
#endif
}