diff options
-rw-r--r-- | ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt index e4916b55..866601d1 100644 --- a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt +++ b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt @@ -228,13 +228,13 @@ class ObservableTunnel internal constructor( return peer } - override fun onPersistentKeepaliveChange(publicKey: Key, newPersistentKeepalive: Integer?) { + override fun onPersistentKeepaliveChange(publicKey: Key, newPersistentKeepalive: Int?) { Application.getCoroutineScope().launch { onPersistentKeepaliveChanged(publicKey, newPersistentKeepalive) } } - private fun onPersistentKeepaliveChanged(publicKey: Key, newPersistentKeepalive: Integer?) { + private fun onPersistentKeepaliveChanged(publicKey: Key, newPersistentKeepalive: Int?) { var peer: PeerDetail = lookupPeer(publicKey) peer.persistentKeepalive = newPersistentKeepalive |