mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
- Skip `TorManager.init()` and `stats.createNotificationChannel()` in Amber.onCreate() for the offline flavor — no relay connections means no need for notification channels or Tor initialisation - Guard `stats.updateNotification()` in `reconnect()` behind the same offline check to avoid accessing uninitialised lateinit vars - Add an early-return guard in `AmberRelayStats.updateNotification()` so any call path that reaches it from relay listeners is also safe https://claude.ai/code/session_014Zqb1AEPPF2RrzmEyPnmei