fix klint warnings

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-02-23 15:07:09 +01:00
parent 4f1a188a38
commit 73ce2716de
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
6 changed files with 13 additions and 14 deletions

View File

@ -272,7 +272,8 @@ class MagicFirebaseMessagingService : FirebaseMessagingService() {
apiVersion,
signatureVerification.userEntity.baseUrl,
decryptedPushMessage.id
), null
),
null
)
.repeatWhen { completed ->
completed.zipWith(Observable.range(1, 12), { _, i -> i })

View File

@ -28,23 +28,23 @@ import kotlinx.android.parcel.Parcelize
@JsonObject
data class Mention(
@JsonField(name = ["id"])
var id : String,
var id: String,
@JsonField(name = ["label"])
var label : String,
var label: String,
// type of user (guests or users or calls)
@JsonField(name = ["source"])
var source : String,
var source: String,
@JsonField(name = ["status"])
var status : String?,
var status: String?,
@JsonField(name = ["statusIcon"])
var statusIcon : String?,
var statusIcon: String?,
@JsonField(name = ["statusMessage"])
var statusMessage : String?
var statusMessage: String?
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'

View File

@ -12,7 +12,7 @@ data class ClearAt(
var type: String,
@JsonField(name = ["time"])
var time: String
) : Parcelable{
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this("type", "time")
}

View File

@ -1,7 +1,5 @@
package com.nextcloud.talk.models.json.status
enum class StatusType(val string: String) {
ONLINE("online"),
OFFLINE("offline"),

View File

@ -17,7 +17,7 @@ data class PredefinedStatus(
var message: String,
@JsonField(name = ["clearAt"])
var clearAt: ClearAt?
) : Parcelable {
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this("id", "icon", "message", null)
}