mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Advanced settings: make number fields .numPad
This commit is contained in:
parent
d1cf45c6a1
commit
2590f041c2
@ -73,7 +73,7 @@ struct AdvancedSettings: View {
|
||||
.frame(minWidth: 140, alignment: .leading)
|
||||
TextField("cache-secs", text: $mpvCacheSecs)
|
||||
#if !os(macOS)
|
||||
.keyboardType(.URL)
|
||||
.keyboardType(.numberPad)
|
||||
#endif
|
||||
}
|
||||
.multilineTextAlignment(.trailing)
|
||||
@ -83,7 +83,7 @@ struct AdvancedSettings: View {
|
||||
.frame(minWidth: 140, alignment: .leading)
|
||||
TextField("cache-pause-wait", text: $mpvCachePauseWait)
|
||||
#if !os(macOS)
|
||||
.keyboardType(.URL)
|
||||
.keyboardType(.numberPad)
|
||||
#endif
|
||||
}
|
||||
.multilineTextAlignment(.trailing)
|
||||
|
Loading…
Reference in New Issue
Block a user