diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt index 94edb8b3..035cddae 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt @@ -92,6 +92,10 @@ class TetheringService : IpNeighbourMonitoringService(), UpstreamMonitor.Callbac } } } + if (routings.isEmpty()) { + updateRoutingsLocked() + return + } updateNotification() } app.handler.post { binder.fragment?.adapter?.notifyDataSetChanged() }