File tree 1 file changed +11
-2
lines changed 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ import MailCoreUI
23
23
import MailResources
24
24
import SwiftUI
25
25
26
+ struct MessageHeaderDivider : View {
27
+ var body : some View {
28
+ Divider ( )
29
+ . frame ( width: 1 , height: 20 )
30
+ . overlay ( MailResourcesAsset . elementsColor. swiftUIColor)
31
+ }
32
+ }
33
+
26
34
struct MessageHeaderActionView < Content: View > : View {
27
35
let iconSize : CGFloat = 16
28
36
let icon : Image
@@ -37,7 +45,7 @@ struct MessageHeaderActionView<Content: View>: View {
37
45
IKDivider ( )
38
46
}
39
47
VStack ( alignment: . leading) {
40
- HStack {
48
+ HStack ( spacing : IKPadding . small ) {
41
49
icon
42
50
. resizable ( )
43
51
. aspectRatio ( contentMode: . fit)
@@ -47,12 +55,13 @@ struct MessageHeaderActionView<Content: View>: View {
47
55
. textStyle ( . labelSecondary)
48
56
. fixedSize ( horizontal: false , vertical: true )
49
57
}
58
+
50
59
HStack {
51
60
actions ( )
52
61
}
53
62
. buttonStyle ( . ikBorderless( isInlined: true ) )
54
63
. controlSize ( . small)
55
- . padding ( . leading, iconSize + IKPadding. mini )
64
+ . padding ( . leading, iconSize + IKPadding. small )
56
65
}
57
66
. padding ( . bottom, value: . micro)
58
67
. padding ( . top, isFirst ? IKPadding . micro : 0 )
You can’t perform that action at this time.
0 commit comments