diff --git a/lib/widget/home.dart b/lib/widget/home.dart index 23153a89..64c566de 100644 --- a/lib/widget/home.dart +++ b/lib/widget/home.dart @@ -180,6 +180,10 @@ class _InvenTreeHomePageState extends State { */ Future _refreshNotifications() async { + if (!InvenTreeAPI().isConnected()) { + return; + } + final notifications = await InvenTreeNotification().list(); setState(() {