mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 06:32:03 +00:00 
			
		
		
		
	Merge pull request #530 from dnicolson/fix-manifest-keyboard-type
Fix manifest keyboard type
This commit is contained in:
		@@ -81,6 +81,10 @@ struct AccountForm: View {
 | 
			
		||||
 | 
			
		||||
    @ViewBuilder var formFields: some View {
 | 
			
		||||
        TextField("Username", text: $username)
 | 
			
		||||
        #if !os(macOS)
 | 
			
		||||
            .autocapitalization(.none)
 | 
			
		||||
        #endif
 | 
			
		||||
            .disableAutocorrection(true)
 | 
			
		||||
        SecureField("Password", text: $password)
 | 
			
		||||
 | 
			
		||||
        #if os(tvOS)
 | 
			
		||||
 
 | 
			
		||||
@@ -50,12 +50,13 @@ struct LocationsSettings: View {
 | 
			
		||||
    @ViewBuilder var settings: some View {
 | 
			
		||||
        Section(header: SettingsHeader(text: "Locations Manifest".localized())) {
 | 
			
		||||
            TextField("URL", text: $instancesManifest)
 | 
			
		||||
            Button("Reload manifest", action: loadCountries)
 | 
			
		||||
                .disabled(instancesManifest.isEmpty)
 | 
			
		||||
            #if !os(macOS)
 | 
			
		||||
                .keyboardType(.webSearch)
 | 
			
		||||
                .keyboardType(.URL)
 | 
			
		||||
                .autocapitalization(.none)
 | 
			
		||||
            #endif
 | 
			
		||||
                .disableAutocorrection(true)
 | 
			
		||||
            Button("Reload manifest", action: loadCountries)
 | 
			
		||||
                .disabled(instancesManifest.isEmpty)
 | 
			
		||||
        }
 | 
			
		||||
        .padding(.bottom, 4)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user