Add some padding to the channel key validation

This commit is contained in:
Garth Vander Houwen 2024-01-24 10:40:26 -08:00
parent e78cc6336f
commit 6034d90360

View file

@ -172,6 +172,7 @@ struct Channels: View {
"Key",
text: $channelKey
)
.padding(4)
.disableAutocorrection(true)
.keyboardType(.alphabet)
.foregroundColor(Color.gray)
@ -195,13 +196,6 @@ struct Channels: View {
hasChanges = true
})
.disabled(channelKeySize <= 0)
// TextField(
// "",
// text: $channelKey,
// axis: .vertical
// )
// .foregroundColor(Color.gray)
// .disabled(true)
}
Picker("Channel Role", selection: $channelRole) {
if channelRole == 1 {