From 51fc6173634e51f7bf3887d54192c9024f8f1d43 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 29 Nov 2024 09:48:08 +0100 Subject: [PATCH] fix(kt): Update method call to kt 2.1 Signed-off-by: Andy Scherzinger --- .../java/com/nextcloud/talk/account/WebViewLoginActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/account/WebViewLoginActivity.kt b/app/src/main/java/com/nextcloud/talk/account/WebViewLoginActivity.kt index 94c3618e0..209d2e371 100644 --- a/app/src/main/java/com/nextcloud/talk/account/WebViewLoginActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/account/WebViewLoginActivity.kt @@ -97,8 +97,8 @@ class WebViewLoginActivity : BaseActivity() { } private val webLoginUserAgent: String get() = ( - Build.MANUFACTURER.substring(0, 1).toUpperCase(Locale.getDefault()) + - Build.MANUFACTURER.substring(1).toLowerCase(Locale.getDefault()) + + Build.MANUFACTURER.substring(0, 1).uppercase(Locale.getDefault()) + + Build.MANUFACTURER.substring(1).uppercase(Locale.getDefault()) + " " + Build.MODEL + " (" +