mirror of
https://github.com/neon443/RNG_Swift.git
synced 2026-03-11 06:49:12 +00:00
add ip and mac addr
animated the changes
This commit is contained in:
@@ -59,16 +59,19 @@ struct PasswordView: View {
|
||||
}
|
||||
|
||||
Text(String(generated))
|
||||
.font(.system(size: 50, weight: .bold))
|
||||
.font(.system(size: 50))
|
||||
.foregroundColor(.gray)
|
||||
.frame(height: 40)
|
||||
.contentTransition(.numericText())
|
||||
|
||||
Button {
|
||||
generated = genPass(selectdOpts: selectedOptions, len: (presetLen == -1 ? customLen : presetLen))
|
||||
withAnimation {
|
||||
generated = genPass(selectdOpts: selectedOptions, len: (presetLen == -1 ? customLen : presetLen))
|
||||
}
|
||||
} label: {
|
||||
Text("Generate")
|
||||
.padding(.horizontal)
|
||||
.font(.system(size: 25, weight: .bold))
|
||||
.font(.system(size: 25))
|
||||
}
|
||||
.buttonStyle(BorderedProminentButtonStyle())
|
||||
.cornerRadius(15)
|
||||
|
||||
Reference in New Issue
Block a user