File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
BDKSwiftExampleWallet/View Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ struct SettingsView: View {
15
15
@State private var isSeedPresented = false
16
16
17
17
var body : some View {
18
-
18
+
19
19
NavigationStack {
20
-
20
+
21
21
Form {
22
-
22
+
23
23
Section ( header: Text ( " Network " ) ) {
24
24
if let network = viewModel. network, let url = viewModel. esploraURL {
25
25
Text ( network. capitalized)
@@ -40,7 +40,7 @@ struct SettingsView: View {
40
40
}
41
41
}
42
42
}
43
-
43
+
44
44
Section ( header: Text ( " Wallet " ) ) {
45
45
Button {
46
46
Task {
@@ -57,7 +57,7 @@ struct SettingsView: View {
57
57
. animation ( . easeInOut, value: viewModel. inspectedScripts)
58
58
}
59
59
}
60
-
60
+
61
61
Section ( header: Text ( " Danger Zone " ) ) {
62
62
Button {
63
63
showingShowSeedConfirmation = true
@@ -74,14 +74,14 @@ struct SettingsView: View {
74
74
}
75
75
}
76
76
}
77
-
77
+
78
78
}
79
79
. navigationTitle ( " Settings " )
80
80
. onAppear {
81
81
viewModel. getNetwork ( )
82
82
viewModel. getEsploraUrl ( )
83
83
}
84
-
84
+
85
85
}
86
86
. sheet ( isPresented: $isSeedPresented) {
87
87
SeedView ( viewModel: . init( ) )
You can’t perform that action at this time.
0 commit comments