iOS client for Grain grain.social
ios photography atproto
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: use grain typeahead API for login autocomplete

Switch from bsky's public searchActorsTypeahead to grain's merged
endpoint that includes both grain and bsky profiles, so users on
non-bsky PDSes show up in login suggestions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+1 -1
+1 -1
Grain/Views/LoginView.swift
··· 266 266 return 267 267 } 268 268 269 - var components = URLComponents(string: "https://public.api.bsky.app/xrpc/app.bsky.actor.searchActorsTypeahead")! 269 + var components = URLComponents(url: AuthManager.serverURL.appendingPathComponent("xrpc/social.grain.unspecced.searchActorsTypeahead"), resolvingAgainstBaseURL: false)! 270 270 components.queryItems = [ 271 271 URLQueryItem(name: "q", value: trimmed), 272 272 URLQueryItem(name: "limit", value: "5"),