Skip to content

Commit c7aa60e

Browse files
Fix syntax in ApiKeyDialog.kt and update InfoText in MenuScreen.kt
1 parent 817d074 commit c7aa60e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

app/src/main/kotlin/com/google/ai/sample/ApiKeyDialog.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,13 @@ fun ApiKeyDialog(
120120
.fillMaxWidth()
121121
.padding(bottom = 16.dp)
122122
) {
123-
} {
124123
val buttonText = if (selectedProvider == ApiProvider.PUTER) {
125124
"Get Auth Token for Puter"
126125
} else {
127126
"Get API Key for ${selectedProvider.name.replaceFirstChar { it.uppercase() }}"
128127
}
129128
Text(buttonText)
130129
}
131-
}
132130

133131
// Input and Add section
134132
Row(verticalAlignment = Alignment.CenterVertically) {

0 commit comments

Comments
 (0)