mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 10:58:23 +00:00
Replace every Long-millisecond call to delay/withTimeoutOrNull/debounce with the kotlin.time.Duration overloads, converting the related constants (EOSE/backup/check timeouts, clipboard clear delay) and the retryWithBackoff/reconnect backoff state to Duration as well. Also suppress the three deliberate cross-flavor compiler warnings in TrustScoreService, WebDavService and ZapstoreUpdater: the offline flavor compiles against OkHttp 4 where response.body is nullable, so the safe call/elvis is required there and only redundant in the free flavor. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ho6LW6eEBkVnnpFvr5tvpi