tools: Network Quality and STUN

This commit is contained in:
世界
2026-04-23 08:12:52 +08:00
parent 6559720e00
commit cd48f1abf6
24 changed files with 1537 additions and 501 deletions
@@ -117,7 +117,7 @@ public struct EditProfileContentView: View {
private var defaultEditorView: some View {
#if os(tvOS)
ScrollView {
TextField("", text: readOnly ? .constant(viewModel.profileContent) : $viewModel.profileContent, axis: .vertical)
TextField(text: readOnly ? .constant(viewModel.profileContent) : $viewModel.profileContent, axis: .vertical) {}
.lineLimit(1000)
.font(Font.system(.caption2, design: .monospaced))
.autocorrectionDisabled(true)
@@ -80,7 +80,7 @@ public struct QRSDisplayView: View {
} label: {
Image(systemName: "minus")
}
Text("\(Int(sliceSize))")
Text(verbatim: "\(Int(sliceSize))")
.foregroundStyle(.secondary)
.frame(minWidth: 50)
Button {
@@ -89,7 +89,7 @@ public struct QRSDisplayView: View {
Image(systemName: "plus")
}
#else
Text("\(Int(sliceSize))")
Text(verbatim: "\(Int(sliceSize))")
.foregroundStyle(.secondary)
#endif
}