fix(ipad): ship iPad P0 layout/globe fixes, edit-last-input, drop clipboard commands
Adapt typing/voice surfaces for iPad width and height, add the system globe key and last-input editing flow, harden host-only Rime deployment, and remove clipboard voice commands. Bump build to 61.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// KeyboardOpenSurfacePolicy.swift
|
||||
// OSGKeyboard · Shared
|
||||
//
|
||||
// Pure open-surface decision used by the keyboard extension. Extracted so
|
||||
// paste-alert sticky resume can be unit-tested without UIKit.
|
||||
// Pure open-surface decision used by the keyboard extension.
|
||||
|
||||
import Foundation
|
||||
|
||||
@@ -10,11 +9,9 @@ public enum KeyboardOpenSurfacePolicy: Sendable {
|
||||
/// Surface to show on the first frame of a keyboard presentation.
|
||||
public static func resolve(
|
||||
locksTypingSurface: Bool,
|
||||
clipboardCommandActive: Bool,
|
||||
stickyPreferVoice: Bool,
|
||||
preferred: KeyboardState.Surface
|
||||
) -> KeyboardState.Surface {
|
||||
if locksTypingSurface || clipboardCommandActive || stickyPreferVoice {
|
||||
if locksTypingSurface {
|
||||
return .voice
|
||||
}
|
||||
return preferred
|
||||
|
||||
Reference in New Issue
Block a user