feat(keyboard): ship AI hint carousel, home library cards, and clipboard polish
Rotate AI idle suggestions with optional remote packs, move history/dictionary onto self-sizing Home preview cards, harden clipboard capture/prompting, and simplify keyboard chrome by dropping most liquid-glass shadows.
This commit is contained in:
@@ -90,10 +90,9 @@ public struct LLMRequest: Codable, Sendable {
|
||||
var cjkCount = 0
|
||||
var nonCJKCount = 0
|
||||
for scalar in text.unicodeScalars {
|
||||
switch scalar.value {
|
||||
case 0x4E00...0x9FFF, 0x3400...0x4DBF, 0xF900...0xFAFF:
|
||||
if HanScript.isIdeograph(scalar) {
|
||||
cjkCount += 1
|
||||
default:
|
||||
} else {
|
||||
nonCJKCount += 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user