The message wasn't displaying properly because the multiline string syntax was injecting newlines where we didn't want them.
@@ -36,16 +36,15 @@ struct RestoreWalletView: MVIView {
var body: some View {
VStack {
- Text("""
- Do not import a seed that was NOT
- created by this application.
- Also, make sure that you don't have
- another Phoenix wallet running with the
- same seed.
- """)
+ //
+
+ Text(
+ "Do not import a seed that was NOT created by this application.\n\n" +
+ "Also, make sure that you don't have another Phoenix wallet running with the same seed."
+ )
.font(.title3)
- .padding()
+ .padding(.top, 20)
Toggle(isOn: $warningAccepted) {
Text("I understand.").font(.title3)
