mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-23 05:29:54 +01:00
fix klint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
4f1a188a38
commit
73ce2716de
@ -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 })
|
||||
|
@ -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'
|
||||
|
@ -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")
|
||||
}
|
||||
|
@ -1,7 +1,5 @@
|
||||
package com.nextcloud.talk.models.json.status
|
||||
|
||||
|
||||
|
||||
enum class StatusType(val string: String) {
|
||||
ONLINE("online"),
|
||||
OFFLINE("offline"),
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user