Spotless
This commit is contained in:
+4
-1
@@ -290,7 +290,10 @@ private fun UserSecondaryLine(user: User) {
|
|||||||
val name = state.nip05.name
|
val name = state.nip05.name
|
||||||
if (name == "_") state.nip05.domain else "$name@${state.nip05.domain}"
|
if (name == "_") state.nip05.domain else "$name@${state.nip05.domain}"
|
||||||
}
|
}
|
||||||
else -> user.pubkeyDisplayHex()
|
|
||||||
|
else -> {
|
||||||
|
user.pubkeyDisplayHex()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
|
|||||||
+1
@@ -450,6 +450,7 @@ class AndroidBleTransport(
|
|||||||
if (characteristic.uuid == readCharUuid) {
|
if (characteristic.uuid == readCharUuid) {
|
||||||
val peerUuid = deviceUuidMap[gatt.device.address] ?: return
|
val peerUuid = deviceUuidMap[gatt.device.address] ?: return
|
||||||
val peer = peerMap[peerUuid] ?: return
|
val peer = peerMap[peerUuid] ?: return
|
||||||
|
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
val value = characteristic.value ?: return
|
val value = characteristic.value ?: return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user