diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-07-31 07:29:47 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-07-31 11:55:29 +0000 |
| commit | 9902674c131a5a1b7e731fa46f90e024e09827bf (patch) | |
| tree | 141d0d95a94b4cee0361dd89aa7a5bfa0935cf9b /android/src/main | |
| parent | 4929a35cd5fcf4be236f453d58ea4cda28edddc0 (diff) | |
| download | mullvadvpn-9902674c131a5a1b7e731fa46f90e024e09827bf.tar.xz mullvadvpn-9902674c131a5a1b7e731fa46f90e024e09827bf.zip | |
Rename `message` into `titleText`
Diffstat (limited to 'android/src/main')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/NotificationBanner.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/NotificationBanner.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/NotificationBanner.kt index f6e50fd94e..b175cbd9ed 100644 --- a/android/src/main/kotlin/net/mullvad/mullvadvpn/NotificationBanner.kt +++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/NotificationBanner.kt @@ -60,7 +60,7 @@ class NotificationBanner(val parentView: View) { return true } - private fun show(message: Int) { + private fun show(titleText: Int) { if (!visible) { visible = true banner.visibility = View.VISIBLE @@ -68,7 +68,7 @@ class NotificationBanner(val parentView: View) { banner.animate().translationY(0.0F).setDuration(350).start() } - title.setText(message) + title.setText(titleText) } private fun hide() { |
