Skip to content

Commit 6009445

Browse files
committed
bump tunnel deps
1 parent f80af9d commit 6009445

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/main/java/com/zaneschepke/wireguardautotunnel/util/extensions/TunnelExtensions.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ fun TunnelStatistics.PeerStats.handshakeStatus(): HandshakeStatus {
4646
fun Peer.isReachable(preferIpv4: Boolean): Boolean {
4747
val host =
4848
if (this.endpoint.isPresent &&
49-
this.endpoint.get().getResolved(preferIpv4).isPresent
49+
this.endpoint.get().resolved.isPresent
5050
) {
51-
this.endpoint.get().getResolved(preferIpv4).get().host
51+
this.endpoint.get().resolved.get().host
5252
} else {
5353
Constants.DEFAULT_PING_IP
5454
}

gradle/libs.versions.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
accompanist = "0.37.0"
33
activityCompose = "1.10.0"
4-
amneziawgAndroid = "1.2.6"
4+
amneziawgAndroid = "1.2.8"
55
androidx-junit = "1.2.1"
66
appcompat = "1.7.0"
77
biometricKtx = "1.2.0-alpha05"
@@ -19,7 +19,7 @@ navigationCompose = "2.8.7"
1919
pinLockCompose = "1.0.4"
2020
roomVersion = "2.6.1"
2121
timber = "5.0.1"
22-
tunnel = "1.2.2"
22+
tunnel = "1.2.4"
2323
androidGradlePlugin = "8.8.0-alpha05"
2424
kotlin = "2.1.10"
2525
ksp = "2.1.10-1.0.30"

0 commit comments

Comments
 (0)