summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-04-25 13:52:32 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-04-27 16:21:51 +0000
commita1417ded2c92e3c3e73456c7832ff4f57dd7973a (patch)
treeb4be50370b29dd5811fc634bab7da9650d1637e3 /android
parent734f60428a7f7c3a6239f712b1904a74c9d27949 (diff)
downloadmullvadvpn-a1417ded2c92e3c3e73456c7832ff4f57dd7973a.tar.xz
mullvadvpn-a1417ded2c92e3c3e73456c7832ff4f57dd7973a.zip
Disable copying information when it is `null`
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/CopyableInformationView.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/CopyableInformationView.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/CopyableInformationView.kt
index e3ceb47d5a..7e06c40e6a 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/CopyableInformationView.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/CopyableInformationView.kt
@@ -11,7 +11,7 @@ class CopyableInformationView : InformationView {
var clipboardLabel: String? = null
set(value) {
field = value
- super.setEnabled(value != null)
+ shouldEnable = value != null
}
var copiedToast: String? = null