Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update credential view search input style (#771)
Leendert de Borst96d560663241
diff --git a/mobile-app/ios/VaultUI/Views/CredentialProviderView.swift b/mobile-app/ios/VaultUI/Views/CredentialProviderView.swiftindex e4e25ed49..f6bc58794 100644--- a/mobile-app/ios/VaultUI/Views/CredentialProviderView.swift+++ b/mobile-app/ios/VaultUI/Views/CredentialProviderView.swift@@ -215,28 +215,44 @@ struct AddCredentialView: View {struct SearchBar: View {@Binding var text: String+ @Environment(\.colorScheme) private var colorSchemevar body: some View {- HStack {- Image(systemName: "magnifyingglass")- .foregroundColor(.gray)+ ZStack {+ HStack {+ Image(systemName: "magnifyingglass")+ .foregroundColor(colorScheme == .dark ? ColorConstants.Dark.text : ColorConstants.Light.text)+ .padding(.leading, 8)- TextField("Search credentials...", text: $text)- .textFieldStyle(RoundedBorderTextFieldStyle())- .autocapitalization(.none)+ TextField("Search credentials...", text: $text)+ .autocapitalization(.none)+ .foregroundColor(colorScheme == .dark ? ColorConstants.Dark.text : ColorConstants.Light.text)+ .padding(.leading, 4)+ .padding(.trailing, 28) // Space for clear button+ }+ .padding(8)+ .padding(.vertical, 2)+ .background(colorScheme == .dark ? ColorConstants.Dark.accentBackground : ColorConstants.Light.accentBackground)+ .cornerRadius(8)if !text.isEmpty {- Button(action: {- text = ""- }) {- Image(systemName: "xmark.circle.fill")- .foregroundColor(.gray)+ HStack {+ Spacer()+ Button(action: {+ text = ""+ }) {+ Image(systemName: "xmark.circle.fill")+ .foregroundColor(colorScheme == .dark ? ColorConstants.Dark.text : ColorConstants.Light.text)+ }+ .padding(.trailing, 8)}}}}}++// MARK: - Preview Helpersextension Service {static var preview: Service {