Build 56: wait for the mixnet before dialing relays; no on-screen keyboard
Two fixes from live testing: 1) Stuck on "Connecting…": the nostr service dialed relays without waiting for the bundled Nym sidecar to be up. On a cold start a fast wallet-open beat the mixnet bootstrap, every relay failed, and nostr-sdk backed off — so the wallet sat on "Connecting…" long after the mixnet was ready. Now we wait for the sidecar SOCKS5 port before connecting (instant once it is warm). Verified: service start -> relay catch-up in ~5s; the flag (Build 55) reflects it within 2s. 2) On-screen keyboard on desktop: upstream Grim pops its own virtual keyboard on desktop (no_soft_keyboard = is_android()), which looked wrong in the wallet flows and competed with physical typing (intermittent dropped/duplicated chars). Goblin now uses native input on every platform — Android IME via JNI, physical keyboard on desktop — by defaulting no_soft_keyboard to true. Verified on desktop: no on-screen keyboard, reliable typing.
This commit is contained in:
@@ -78,7 +78,13 @@ impl TextEdit {
|
||||
scan_pressed: false,
|
||||
enter_pressed: false,
|
||||
numeric: false,
|
||||
no_soft_keyboard: is_android(),
|
||||
// Goblin uses each platform's NATIVE input everywhere: the Android
|
||||
// soft keyboard via JNI on Android, the physical keyboard on desktop.
|
||||
// Upstream Grim only suppresses its own on-screen keyboard on Android
|
||||
// (`is_android()`) and pops it on desktop — which looked out of place
|
||||
// in Goblin's wallet flows and competed with physical typing. Suppress
|
||||
// it on every platform; native text entry still works.
|
||||
no_soft_keyboard: true,
|
||||
hint: None,
|
||||
text_color: None,
|
||||
body_font: false,
|
||||
|
||||
Reference in New Issue
Block a user