Update Tests/main.swift

This commit is contained in:
Zaph 2024-10-18 16:59:52 +02:00
parent 4b31e33292
commit 571996fbec

View File

@ -3,10 +3,9 @@ import WebView
@main
struct Test: App {
let id = "xyz.zaph.webview"
var app: AdwaitaApp!
var app = AdwaitaApp(id:"xyz.zaph.webview")
@State private var url: String = "https://github.com/AparokshaUI/adwaita-swift"
@State private var url: String = "https://git.aparoksha.dev/aparoksha/adwaita-swift"
var scene: Scene {
Window(id: "main") { window in
@ -43,6 +42,7 @@ struct ToolbarView: View {
MenuSection {
MenuButton("About Me", window: false) {
about = true
}
}
}
@ -54,8 +54,8 @@ struct ToolbarView: View {
developer: "zaph",
version: "dev",
icon: .custom(name: "xyz.zaph.webview"),
website: .init(string: "https://github.com/Zaphik/AdwaitaWebViewSwift")!,
issues: .init(string: "https://github.com/Zaphik/AdwaitaWebViewSwift")!
website: .init(string: "https://git.aparoksha.dev/Zaph/AdwaitaWebViewSwift")!,
issues: .init(string: "https://git.aparoksha.dev/Zaph/AdwaitaWebViewSwift")!
)
}