mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-01 09:05:25 +01:00
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:
parent
f28bf02380
commit
523b8080d1
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user