diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-04-23 12:59:48 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-04-23 13:08:17 +0000 |
| commit | 040bb2ecd51411c87cbf524a7e4cad9a8dc41f86 (patch) | |
| tree | 0b0719459920a08e7881e1ff712911b3fce9758d /android/src/main | |
| parent | 48d1250ac401c1c2eff2e88c9338970af04c3dc9 (diff) | |
| download | mullvadvpn-040bb2ecd51411c87cbf524a7e4cad9a8dc41f86.tar.xz mullvadvpn-040bb2ecd51411c87cbf524a7e4cad9a8dc41f86.zip | |
Add `StringRes` annotation to `urlId`
Diffstat (limited to 'android/src/main')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/NotificationWithUrlWithToken.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/NotificationWithUrlWithToken.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/NotificationWithUrlWithToken.kt index 6afd54840c..6c761f47b2 100644 --- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/NotificationWithUrlWithToken.kt +++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/NotificationWithUrlWithToken.kt @@ -3,12 +3,13 @@ package net.mullvad.mullvadvpn.ui.notification import android.content.Context import android.content.Intent import android.net.Uri +import androidx.annotation.StringRes import net.mullvad.mullvadvpn.ui.serviceconnection.AuthTokenCache abstract class NotificationWithUrlWithToken( protected val context: Context, protected val authTokenCache: AuthTokenCache, - urlId: Int + @StringRes urlId: Int ) : InAppNotification() { private val url = context.getString(urlId) |
