Remove IP address from configuration

This commit is contained in:
Mygod
2018-01-04 14:23:49 +08:00
parent 98590f743f
commit 19feec30bc
4 changed files with 25 additions and 19 deletions

View File

@@ -88,7 +88,7 @@ class MainActivity : AppCompatActivity(), ServiceConnection, Toolbar.OnMenuItemC
}
holder.binding.device = device
holder.binding.ipAddress = when (position) {
0 -> binder?.service?.hostAddress?.hostAddress?.toString()
0 -> binder?.service?.hostAddress
else -> arpCache[device?.deviceAddress]
}
holder.binding.executePendingBindings()