Skip to content

Commit a8c3b52

Browse files
committed
Refine code style
1 parent a35cf2b commit a8c3b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ class RepeaterService : Service(), CoroutineScope, SharedPreferences.OnSharedPre
550550
}
551551

552552
private fun showNotification(group: WifiP2pGroup? = null) = ServiceNotification.startForeground(this,
553-
if (group == null) emptyMap() else mapOf(Pair(group.`interface`, group.clientList?.size ?: 0)))
553+
if (group == null) emptyMap() else mapOf(group.`interface` to (group.clientList?.size ?: 0)))
554554

555555
private fun removeGroup() {
556556
p2pManager.removeGroup(channel ?: return, object : WifiP2pManager.ActionListener {

0 commit comments

Comments
 (0)