mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 23:19:38 +00:00
14 lines
394 B
Swift
14 lines
394 B
Swift
import SwiftUI
|
|
|
|
struct NativeNavHost: UIViewControllerRepresentable {
|
|
let navController: UINavigationController
|
|
|
|
func makeUIViewController(context: Context) -> UINavigationController {
|
|
navController
|
|
}
|
|
|
|
func updateUIViewController(_ uiViewController: UINavigationController, context: Context) {
|
|
// JS routing still drives pushes/pops; nothing to do here.
|
|
}
|
|
}
|