Skip to content

Commit

Permalink
Update AboutView.swift (#52)
Browse files Browse the repository at this point in the history
* Update AboutView.swift

* Update DarockBili_Watch_App_UI_Tests.swift
  • Loading branch information
WindowsMEMZ authored Jan 2, 2024
1 parent 246bd27 commit 9b7483b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,11 @@ final class DarockBili_Watch_App_UI_Tests: XCTestCase {
app.buttons["AppSettingsButton"].firstMatch.tap()
sleep(1)
takeScreenshot(of: app, named: "SettingsMain")
app.buttons["以太网"].firstMatch.tap()
app.buttons["通用"].firstMatch.tap()
app.buttons["关于"].firstMatch.tap()
app.swipeUp()
sleep(1)
takeScreenshot(of: app, named: "EthernetSetting")
app.buttons["网络检查"].firstMatch.tap()
sleep(2)
takeScreenshot(of: app, named: "NetworkFix1")
sleep(5)
takeScreenshot(of: app, named: "NetworkFix2")
takeScreenshot(of: app, named: "AboutView")

}

Expand Down
12 changes: 8 additions & 4 deletions DarockBili Watch App/Others/AboutView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ struct AboutView: View {
Text("编译时间: \(CodingTime.getCodingTime())")
Text("遇到问题?在设置页面点击“反馈问题”进行反馈,感谢您的支持!")
}
Section {
Text("Credits:")
Text("Darock Studio")
Label("来自 \(Text("Darock Studio").bold()) 的消息:欢迎加群 248036605 获取最新消息谢谢喵!", systemImage: "arrowshape.up")
Section(header: Text("Credits")) {
VStack {
Text("Darock Studio")
Label("来自 \(Text("Darock Studio").bold()) 的消息:欢迎加群 248036605 获取最新消息谢谢喵!", systemImage: "arrowshape.up")
}
Text("ThreeManager785")
Text("Lightning-Lion")
Text("Linecom")
Text("-- And You --")
}
Section {
NavigationLink(destination: {OpenSource()}, label: {
Expand Down

0 comments on commit 9b7483b

Please sign in to comment.