summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/NotificationBanner.kt4
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() {