Skip to content

Commit 5ca64a7

Browse files
Fix: Correct problematic string in SystemMessageEntryPreferences
The guide string for the "Chromium-based Browser" default entry contained a sequence `\"-\"` which caused a Kotlin compiler error (unresolved reference, receiver type mismatch for minus operator) during release builds. This commit changes the problematic sequence `tap the \"-\" (multiple times)` to `tap the 'minus' symbol (multiple times)` to avoid the parsing issue and allow the build to complete successfully. The meaning of the guide text remains the same for you.
1 parent e244948 commit 5ca64a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/kotlin/com/google/ai/sample/util/SystemMessageEntryPreferences.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ object SystemMessageEntryPreferences {
4444
),
4545
SystemMessageEntry(
4646
title = "Chromium-based Browser",
47-
guide = "//To see more in a screenshot, you may want to consider zooming out. To do this, tap the three vertical dots, select the appropriate location in the menu, and then tap the "-" (multiple times). You can only zoom out to 50%.\""
47+
guide = "//To see more in a screenshot, you may want to consider zooming out. To do this, tap the three vertical dots, select the appropriate location in the menu, and then tap the 'minus' symbol (multiple times). You can only zoom out to 50%.\""
4848
)
4949
)
5050
saveEntries(context, defaultEntries) // This saves them to KEY_SYSTEM_MESSAGE_ENTRIES

0 commit comments

Comments
 (0)