mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-10 08:54:11 +00:00
2e8829ef83
Guard against paying more than the spendable balance at every entry: the Pay tab, the send-flow amount step, and the Review screen all render the amount in red with "You don't have enough grin" and refuse to proceed, so a payment that would only fail later at the node is stopped up front. On Android the phone gives a short error buzz on the blocked tap — new VIBRATE bridge (PlatformCallbacks::vibrate_error -> MainActivity.vibrateError); no-op on desktop. Grim silently clamped the amount and showed nothing. Also enlarge and vertically center the magnifier in the "Send to" search field (an 18px muted label became a 22px centered glyph).