add ip and mac addr

animated the changes
This commit is contained in:
neon443
2025-04-27 21:34:49 +01:00
parent 64a517333b
commit 9c68de0af0
19 changed files with 274 additions and 21 deletions

View File

@@ -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)