Skip to content

Commit 55013f8

Browse files
committed
ci: update JDK version to 21
1 parent ad4678c commit 55013f8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
with:
1414
submodules: 'true'
1515

16-
- name: Set up JDK 17
16+
- name: Set up JDK 21
1717
uses: actions/setup-java@v3
1818
with:
19-
java-version: '17'
19+
java-version: '21'
2020
distribution: 'temurin'
2121
cache: gradle
2222

app/src/main/java/io/shubham0204/smollmandroid/ui/screens/chat/ChatScreenViewModel.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package io.shubham0204.smollmandroid.ui.screens.chat
1818

19+
import android.annotation.SuppressLint
1920
import android.content.Context
2021
import android.graphics.Color
2122
import android.text.util.Linkify
@@ -297,6 +298,7 @@ class ChatScreenViewModel(
297298
false
298299
}
299300

301+
@SuppressLint("StringFormatMatches")
300302
fun showContextLengthUsageDialog() {
301303
_currChatState.value?.let { chat ->
302304
createAlertDialog(

0 commit comments

Comments
 (0)