This repository was archived by the owner on Jan 19, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-28
lines changed
TempBox.xcodeproj/xcuserdata/waseemakram.xcuserdatad/xcdebugger
macOS/Features/MessageDetail Expand file tree Collapse file tree 3 files changed +17
-28
lines changed Original file line number Diff line number Diff line change 5252 landmarkType = " 7" >
5353 </BreakpointContent >
5454 </BreakpointProxy >
55- <BreakpointProxy
56- BreakpointExtensionID = " Xcode.Breakpoint.FileBreakpoint" >
57- <BreakpointContent
58- uuid = " 717F6EAC-872B-49A7-966C-BB79EC72D1C7"
59- shouldBeEnabled = " No"
60- ignoreCount = " 0"
61- continueAfterRunningActions = " No"
62- filePath = " macOS/Features/MessageDetail/MessageDetailView.swift"
63- startingColumnNumber = " 9223372036854775807"
64- endingColumnNumber = " 9223372036854775807"
65- startingLineNumber = " 58"
66- endingLineNumber = " 58"
67- landmarkName = " body"
68- landmarkType = " 24" >
69- </BreakpointContent >
70- </BreakpointProxy >
7155 <BreakpointProxy
7256 BreakpointExtensionID = " Xcode.Breakpoint.FileBreakpoint" >
7357 <BreakpointContent
Original file line number Diff line number Diff line change @@ -27,8 +27,15 @@ struct MessageDetailHeader: View {
2727 . padding ( )
2828
2929 VStack ( alignment: . leading, spacing: 6.0 ) {
30- Text ( " \( viewModel. fromName) ( \( viewModel. fromAddress) ) " )
31- . font ( . system( size: 16 ) )
30+ HStack {
31+ Text ( " \( viewModel. fromName) ( \( viewModel. fromAddress) ) " )
32+ . font ( . system( size: 16 ) )
33+ . lineLimit ( 1 )
34+ Spacer ( )
35+ Text ( viewModel. createdAtDate)
36+ . layoutPriority ( 1 )
37+ . font ( . caption)
38+ }
3239 Text ( viewModel. subject)
3340 . font ( . system( size: 12 ) )
3441 CCView ( viewModel: viewModel)
Original file line number Diff line number Diff line change @@ -36,23 +36,21 @@ struct MessageDetailView: View {
3636
3737 var body : some View {
3838 VStack ( alignment: . leading) {
39- HStack {
40- MessageDetailHeader ( viewModel: . init( from: selectedMessageData. from,
41- cc: selectedMessageData. cc,
42- bcc: selectedMessageData. bcc,
43- subject: selectedMessageData. subject,
44- date: selectedMessageData. createdAt
45- ) )
46- Spacer ( )
47- }
39+ MessageDetailHeader ( viewModel: . init(
40+ from: selectedMessageData. from,
41+ cc: selectedMessageData. cc,
42+ bcc: selectedMessageData. bcc,
43+ subject: selectedMessageData. subject,
44+ date: selectedMessageData. createdAt
45+ ) )
4846 . padding ( [ . top, . horizontal] )
4947 if isLoading {
5048 loadingView
5149 } else {
5250 VStack {
5351 WebView ( html: html)
5452 . frame ( maxWidth: . infinity, maxHeight: . infinity)
55- . cornerRadius ( 12 )
53+ . clipShape ( RoundedRectangle ( cornerRadius : 12 ) )
5654 . padding ( 24 )
5755 if let account = selectedAccount, let attachments = selectedMessage. data. attachments, !attachments. isEmpty {
5856 AttachmentsView ( controller: AttachmentsViewController ( account: account, attachments: attachments) )
You can’t perform that action at this time.
0 commit comments