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 <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2025-05-23 10:13:37 +02:00
parent f28bf02380
commit 523b8080d1
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -134,11 +134,13 @@ class ConversationInfoViewModel @Inject constructor(
val getProfileViewState: LiveData<ViewState>
get() = _getProfileViewState
@Suppress("PropertyName")
private val _markConversationAsSensitiveResult =
MutableLiveData<MarkConversationAsSensitiveViewState>(MarkConversationAsSensitiveViewState.None)
val markAsSensitiveResult: LiveData<MarkConversationAsSensitiveViewState>
get() = _markConversationAsSensitiveResult
@Suppress("PropertyName")
private val _markConversationAsInsensitiveResult =
MutableLiveData<MarkConversationAsInsensitiveViewState>(MarkConversationAsInsensitiveViewState.None)
val markAsInsensitiveResult: LiveData<MarkConversationAsInsensitiveViewState>