diff options
| author | David Göransson <david.goransson@mullvad.net> | 2025-03-14 09:34:09 +0100 |
|---|---|---|
| committer | David Göransson <david.goransson@mullvad.net> | 2025-03-14 09:34:09 +0100 |
| commit | df2730b9046b962473e533ef1199651eb3467357 (patch) | |
| tree | 2a535d2901e4dba2ce0682d29c5b7aa99717f971 /android/lib | |
| parent | 21434798331b5324ed739202d7b505fbee086e52 (diff) | |
| parent | 6e2ad2d772d891d9791144fcdb7840f26b5cf9de (diff) | |
| download | mullvadvpn-df2730b9046b962473e533ef1199651eb3467357.tar.xz mullvadvpn-df2730b9046b962473e533ef1199651eb3467357.zip | |
Merge branch 'dependency-updates'
Diffstat (limited to 'android/lib')
| -rw-r--r-- | android/lib/common/src/main/kotlin/net/mullvad/mullvadvpn/lib/common/util/ContextExtensions.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/lib/common/src/main/kotlin/net/mullvad/mullvadvpn/lib/common/util/ContextExtensions.kt b/android/lib/common/src/main/kotlin/net/mullvad/mullvadvpn/lib/common/util/ContextExtensions.kt index 882279c999..bf275c4f53 100644 --- a/android/lib/common/src/main/kotlin/net/mullvad/mullvadvpn/lib/common/util/ContextExtensions.kt +++ b/android/lib/common/src/main/kotlin/net/mullvad/mullvadvpn/lib/common/util/ContextExtensions.kt @@ -3,6 +3,7 @@ package net.mullvad.mullvadvpn.lib.common.util import android.content.Context import android.content.Intent import android.net.Uri +import androidx.core.net.toUri import net.mullvad.mullvadvpn.lib.model.WebsiteAuthToken fun createAccountUri(accountUri: String, websiteAuthToken: WebsiteAuthToken?): Uri { @@ -13,7 +14,7 @@ fun createAccountUri(accountUri: String, websiteAuthToken: WebsiteAuthToken?): U append(websiteAuthToken.value) } } - return Uri.parse(urlString) + return urlString.toUri() } fun Context.openVpnSettings() { |
