push to github

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

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ func rngInt(len: Int) -> Int {
}
let resultInt = Int(result)
return resultInt!
}
}
func rngString(len: Int) -> String {
let letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
+9 -5
View File
@@ -75,13 +75,17 @@ struct PasswordView: View {
}
Section("Result") {
HStack {
Spacer()
Text(String(result))
Spacer()
Group {
Spacer()
Text(String(result))
Spacer()
}
}
HStack {
Spacer()
Text(String(generated))
.font(.largeTitle)
.bold()
Spacer()
}
}
@@ -178,9 +182,9 @@ func genPass(type: String, min: Int?, max: Int?) -> String {
return result
}
#Preview {
#Preview("PasswordView") {
PasswordView()
}
#Preview {
#Preview("PassCodeWordHelpView") {
PassCodeWordHelpView()
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.