Refine code style
This commit is contained in:
@@ -21,8 +21,6 @@ abstract class IpNeighbourMonitoringService : Service(), IpNeighbourMonitor.Call
|
||||
.distinctBy { it.lladdr }
|
||||
.size
|
||||
}
|
||||
ServiceNotification.startForeground(this,
|
||||
activeIfaces.associate { Pair(it, sizeLookup[it] ?: 0) },
|
||||
inactiveIfaces)
|
||||
ServiceNotification.startForeground(this, activeIfaces.associateWith { sizeLookup[it] ?: 0 }, inactiveIfaces)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user