From 523b8080d1d4284e374820df86fa3d67da7d7246 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Fri, 23 May 2025 10:13:37 +0200 Subject: [PATCH] Suppress strange ktlint warning about PropertyName i have absolutely no idea why "Property name should start with a lowercase letter and use camel case (cannot be auto-corrected)" is shown for these properties. It should be allowed for backing properties, just like for the others in this class?! Thus, for now the suppress Signed-off-by: Marcel Hibbe --- .../conversationinfo/viewmodel/ConversationInfoViewModel.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt index 8f0226e6b..b9008c91a 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt @@ -134,11 +134,13 @@ class ConversationInfoViewModel @Inject constructor( val getProfileViewState: LiveData get() = _getProfileViewState + @Suppress("PropertyName") private val _markConversationAsSensitiveResult = MutableLiveData(MarkConversationAsSensitiveViewState.None) val markAsSensitiveResult: LiveData get() = _markConversationAsSensitiveResult + @Suppress("PropertyName") private val _markConversationAsInsensitiveResult = MutableLiveData(MarkConversationAsInsensitiveViewState.None) val markAsInsensitiveResult: LiveData