mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-08 01:43:07 +00:00
Debounce the sync banner to only show if sync takes longer than 300ms. This prevents the banner from flashing on quick syncs while still showing for slower operations. Changes: - Added DEBOUNCE_MS constant (300ms) - Changed doStartSync to delay banner display by 300ms - Changed endSync to immediately clear all timeouts - Renamed endSyncTimeoutRef to startDelayTimeoutRef (now for debounce)