feat(account): add managed credits and cloud gateway
Introduce optional Apple account-backed credits with scoped gateway access while preserving local and BYOK paths. Refresh assistant behavior, tests, privacy disclosures, docs, and the website for the 2.0 experience.
This commit is contained in:
@@ -73,8 +73,7 @@ public enum PinyinNextKeyResolver {
|
||||
private static func collectNext(prefix: String, into result: inout Set<Character>) {
|
||||
var canExtend = false
|
||||
for syllable in PinyinSyllableTable.syllables
|
||||
where syllable.hasPrefix(prefix) && syllable.count > prefix.count
|
||||
{
|
||||
where syllable.hasPrefix(prefix) && syllable.count > prefix.count {
|
||||
let index = syllable.index(syllable.startIndex, offsetBy: prefix.count)
|
||||
result.insert(syllable[index])
|
||||
canExtend = true
|
||||
|
||||
Reference in New Issue
Block a user