Compare commits

...

2 Commits

Author SHA1 Message Date
Christoph Hagen
877bba56b4 Remove images for website 2024-01-14 12:50:25 +01:00
Christoph Hagen
c049f9c9d6 Improve history item layout on phone 2024-01-14 12:48:43 +01:00
3 changed files with 11 additions and 12 deletions

Binary file not shown.

View File

@ -67,6 +67,11 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>Sesame Watch App.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
<key>Sesame-Watch Watch App.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
@ -75,12 +80,12 @@
<key>Sesame-WidgetExtension.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
<integer>0</integer>
</dict>
<key>Sesame.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>2</integer>
</dict>
</dict>
</dict>

View File

@ -22,12 +22,8 @@ struct HistoryListItem: View {
"\(Int(entry.roundTripTime * 1000)) ms"
}
var clientNonceText: String {
"\(entry.message.clientChallenge)"
}
var serverNonceText: String {
"\(entry.message.serverChallenge)"
var noncesText: String {
"\(entry.message.clientChallenge)\(entry.message.serverChallenge)"
}
var body: some View {
@ -42,10 +38,8 @@ struct HistoryListItem: View {
HStack {
Image(systemSymbol: .arrowUpArrowDownCircle)
Text(roundTripText).padding(.trailing)
Image(systemSymbol: .lockIphone)
Text(clientNonceText).padding(.trailing)
Image(systemSymbol: .doorRightHandClosed)
Text(serverNonceText).padding(.trailing)
Image(systemSymbol: .keyHorizontal)
Text(noncesText)
}
.foregroundColor(.secondary)
.font(.footnote)