push to github

This commit is contained in:
neon443
2024-06-04 17:28:34 +01:00
parent 30971c4ade
commit 2d007127ae
2 changed files with 10 additions and 6 deletions

View File

@@ -75,13 +75,17 @@ struct PasswordView: View {
} }
Section("Result") { Section("Result") {
HStack { HStack {
Spacer() Group {
Text(String(result)) Spacer()
Spacer() Text(String(result))
Spacer()
}
} }
HStack { HStack {
Spacer() Spacer()
Text(String(generated)) Text(String(generated))
.font(.largeTitle)
.bold()
Spacer() Spacer()
} }
} }
@@ -178,9 +182,9 @@ func genPass(type: String, min: Int?, max: Int?) -> String {
return result return result
} }
#Preview { #Preview("PasswordView") {
PasswordView() PasswordView()
} }
#Preview { #Preview("PassCodeWordHelpView") {
PassCodeWordHelpView() PassCodeWordHelpView()
} }