Skip to content

Commit

Permalink
ui: footnote on seedview
Browse files Browse the repository at this point in the history
  • Loading branch information
reez authored Oct 3, 2024
1 parent bce8528 commit 611f267
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BDKSwiftExampleWallet/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@
}
}
}
},
"Please make sure to write it down and store it securely." : {

},
"powered by Bitcoin Dev Kit" : {

Expand Down Expand Up @@ -573,6 +576,9 @@
}
}
}
},
"Seed is not synced across devices." : {

},
"Select Bitcoin Network" : {

Expand Down
10 changes: 10 additions & 0 deletions BDKSwiftExampleWallet/View/Settings/SeedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ struct SeedView: View {
@State private var showCheckmark = false

var body: some View {

ZStack {
Color(uiColor: .systemBackground)
.ignoresSafeArea()
Expand All @@ -28,6 +29,15 @@ struct SeedView: View {
wordsPerPage: 4
)

VStack {
Text("Seed is not synced across devices.")
Text("Please make sure to write it down and store it securely.")
}
.font(.caption)
.foregroundStyle(.secondary)
.multilineTextAlignment(.center)
.padding()

HStack {
Spacer()
Button {
Expand Down

0 comments on commit 611f267

Please sign in to comment.