Skip to content
Snippets Groups Projects
Commit a5dcc41a authored by Khaleeq's avatar Khaleeq
Browse files

Merge remote-tracking branch 'origin/master'

parents fcc28c90 65a88e1f
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,8 @@ class MainActivity : ComponentActivity() {
Text(text = "Reset")
}
}
Spacer(modifier = Modifier.height(20.dp))
Row {
......@@ -167,34 +169,15 @@ class MainActivity : ComponentActivity() {
Text(text = "1 min")
}
Button(
onClick = { setTimer(5) },
colors = ButtonDefaults.buttonColors(
containerColor = Color(0xFFD0BCFF), // Grün
contentColor = Color.White // Weißer Text
)
) {
Button(onClick = { setTimer(5) }) {
Text(text = "5 min")
}
Spacer(modifier = Modifier.width(8.dp))
Button(
onClick = { setTimer(15) },
colors = ButtonDefaults.buttonColors(
containerColor = Color(0xFF6650a4), // Grün
contentColor = Color.White // Weißer Text
)
) {
Button(onClick = { setTimer(15) }) {
Text(text = "15 min")
}
Spacer(modifier = Modifier.width(8.dp))
Button(
onClick = { setTimer(25) },
colors = ButtonDefaults.buttonColors(
containerColor = Color(0xFFEF9A9A), // Grün
contentColor = Color.White // Weißer Text
)
) {
Button(onClick = { setTimer(25) }) {
Text(text = "25 min")
}
}
......@@ -218,5 +201,3 @@ class MainActivity : ComponentActivity() {
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment