File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
BitwardenShared/UI/Platform
Settings/Settings/AutoFill Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,12 @@ import SwiftUI
6
6
/// A text view for the footer on BitwardenMenu
7
7
///
8
8
struct BitwardenMenuFooterTextField : View {
9
-
10
9
/// The content of the text view.
11
10
private let content : Text
12
-
11
+
13
12
/// The bottom padding of the text view.
14
13
private let topPadding : CGFloat
15
-
14
+
16
15
/// The bottom padding of the text view.
17
16
private let bottomPadding : CGFloat
18
17
@@ -21,20 +20,21 @@ struct BitwardenMenuFooterTextField: View {
21
20
self . topPadding = topPadding
22
21
self . bottomPadding = bottomPadding
23
22
}
24
-
23
+
25
24
init ( _ title: LocalizedStringKey , topPadding: CGFloat = 0 , bottomPadding: CGFloat = 12 ) {
26
25
content = Text ( title)
27
26
self . topPadding = topPadding
28
27
self . bottomPadding = bottomPadding
29
28
}
30
-
29
+
31
30
init ( _ title: String , topPadding: CGFloat = 0 , bottomPadding: CGFloat = 12 ) {
32
31
content = Text ( title)
33
32
self . topPadding = topPadding
34
33
self . bottomPadding = bottomPadding
35
34
}
36
35
37
36
// MARK: View
37
+
38
38
var body : some View {
39
39
content
40
40
. styleGuide ( . footnote, includeLinePadding: false , includeLineSpacing: false )
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ struct AutoFillView: View {
72
72
accessibilityIdentifier: " CopyTotpAutomaticallySwitch "
73
73
)
74
74
. contentBlock ( )
75
-
75
+
76
76
BitwardenMenuField (
77
77
title: Localizations . defaultUriMatchDetection,
78
78
accessibilityIdentifier: " DefaultUriMatchDetectionChooser " ,
You can’t perform that action at this time.
0 commit comments