mirror of
https://github.com/darkmoonight/Rain.git
synced 2026-03-13 10:31:53 +08:00
Call updateWidget() after reading cached weather on Android so the home screen widget immediately shows the current temperature and icon instead of only the date. Wrap the “Add widget” setting in isRequestPinWidgetSupported() and show the addWidgetLauncher snackbar on launchers that don’t support pinning widgets (e.g. some GrapheneOS setups), avoiding silent failures. No changes to layouts or existing comments; only widget update logic and settings behavior were adjusted.