Skip to content

Commit a0ecadf

Browse files
committed
fix lint
Signed-off-by: alperozturk <[email protected]>
1 parent 9c361bc commit a0ecadf

File tree

1 file changed

+3
-0
lines changed
  • library/src/main/java/com/owncloud/android/lib/resources/assistant/chat/model

1 file changed

+3
-0
lines changed

library/src/main/java/com/owncloud/android/lib/resources/assistant/chat/model/Conversation.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
package com.owncloud.android.lib.resources.assistant.chat.model
1010

11+
import android.os.Build
12+
import androidx.annotation.RequiresApi
1113
import com.google.gson.annotations.SerializedName
1214
import java.time.ZoneId
1315
import java.time.format.DateTimeFormatter
@@ -32,6 +34,7 @@ data class Conversation(
3234
}
3335

3436
@OptIn(ExperimentalTime::class)
37+
@RequiresApi(Build.VERSION_CODES.O)
3538
fun titleRepresentation(): String {
3639
return if (title != null) {
3740
title

0 commit comments

Comments
 (0)