diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterFragment.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterFragment.kt index 8681cbcc..1682f71e 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterFragment.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterFragment.kt @@ -79,8 +79,8 @@ class RepeaterFragment : Fragment(), ServiceConnection, Toolbar.OnMenuItemClickL val ip = neighbour?.ip val icon get() = TetherType.ofInterface(iface, p2pInterface).icon - val title: CharSequence get() = listOf(ip, mac).filter { !it.isNullOrEmpty() }.joinToString(", ") - val description: CharSequence get() = when (neighbour?.state) { + val title get() = listOf(ip, mac).filter { !it.isNullOrEmpty() }.joinToString(", ") + val description get() = when (neighbour?.state) { IpNeighbour.State.INCOMPLETE, null -> "Connecting to $iface" IpNeighbour.State.VALID -> "Connected to $iface" IpNeighbour.State.VALID_DELAY -> "Connected to $iface (losing)" diff --git a/mobile/src/main/res/layout/listitem_client.xml b/mobile/src/main/res/layout/listitem_client.xml index 055f85c8..0e28e724 100644 --- a/mobile/src/main/res/layout/listitem_client.xml +++ b/mobile/src/main/res/layout/listitem_client.xml @@ -11,8 +11,6 @@