created a webkit based client for vikunja on ios
This commit is contained in:
@@ -7,18 +7,17 @@
|
||||
|
||||
import SwiftUI
|
||||
|
||||
// ⚠️ HIER die eigene IP/Port eintragen:
|
||||
let vikunjaURL = URL(string: "http://192.168.178.89:3456")!
|
||||
|
||||
struct ContentView: View {
|
||||
@State private var canGoBack = false
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
Image(systemName: "globe")
|
||||
.imageScale(.large)
|
||||
.foregroundStyle(.tint)
|
||||
Text("Hello, world!")
|
||||
NavigationStack {
|
||||
WebView(url: vikunjaURL, canGoBack: $canGoBack)
|
||||
.ignoresSafeArea()
|
||||
.navigationBarHidden(true)
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
ContentView()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user