mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-14 09:57:31 -04:00
reformated code
This commit is contained in:
parent
16bd02901e
commit
2ef3f21aae
@ -92,7 +92,7 @@ abstract class PeerGroupHandshake(private var groupInfo: WifiP2pInfo) {
|
||||
val kiwixHandShakeMessage = objectInputStream.readObject()
|
||||
|
||||
// Verify that the peer trying to communicate is a kiwix app intending to transfer files
|
||||
return@readHandshakeAndExchangeMetaData if (isKiwixHandshake(
|
||||
if (isKiwixHandshake(
|
||||
kiwixHandShakeMessage
|
||||
)
|
||||
) {
|
||||
@ -110,6 +110,7 @@ abstract class PeerGroupHandshake(private var groupInfo: WifiP2pInfo) {
|
||||
ex.printStackTrace()
|
||||
return null
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
Loading…
x
Reference in New Issue
Block a user