added api login button

This commit is contained in:
Leandro Schaguhn 2025-06-11 18:56:42 +02:00
parent 0d44832747
commit 7668743a1f

View file

@ -21,6 +21,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material3.Button
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.OutlinedButton
import androidx.compose.material3.OutlinedTextField
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
@ -72,6 +73,17 @@ fun HomeScreen(paddingValues: PaddingValues) {
}
}
Row {
AnimatedVisibility(currentScreen == 1) {
OutlinedButton (
onClick = {currentScreen = nextScreen},
modifier = Modifier.padding(top = 24.dp)
) {
Row() {
Text(text = "Use API Key")
}
}
}
Button(
onClick = {currentScreen = nextScreen},
modifier = Modifier.padding(top = 24.dp),
@ -86,6 +98,7 @@ fun HomeScreen(paddingValues: PaddingValues) {
}
}
}
}
}
@Composable