Simple Mercies 1.1: tap the question for a different one
This commit is contained in:
@@ -174,7 +174,11 @@ fun JarTab(st: AppState) {
|
|||||||
Spacer(Modifier.height(18.dp))
|
Spacer(Modifier.height(18.dp))
|
||||||
Panel(Modifier.fillMaxWidth()) {
|
Panel(Modifier.fillMaxWidth()) {
|
||||||
Column(Modifier.padding(16.dp)) {
|
Column(Modifier.padding(16.dp)) {
|
||||||
Text(Prompts.forDate(LocalDate.now()), color = l.ink, fontFamily = Fonts.fell, fontStyle = FontStyle.Italic, fontSize = 22.sp, lineHeight = 28.sp)
|
Row(Modifier.fillMaxWidth().clickable { st.prefs.nextPrompt() }, verticalAlignment = Alignment.CenterVertically) {
|
||||||
|
Text(Prompts.forDate(LocalDate.now(), st.prefs.promptShift), Modifier.weight(1f), color = l.ink, fontFamily = Fonts.fell,
|
||||||
|
fontStyle = FontStyle.Italic, fontSize = 22.sp, lineHeight = 28.sp)
|
||||||
|
Icon(Icons.Filled.Refresh, "A different question", tint = l.accent, modifier = Modifier.padding(start = 8.dp).size(24.dp))
|
||||||
|
}
|
||||||
Spacer(Modifier.height(10.dp))
|
Spacer(Modifier.height(10.dp))
|
||||||
Field(text, { text = it }, "One good thing from today…", Modifier.fillMaxWidth(), minHeight = 90.dp)
|
Field(text, { text = it }, "One good thing from today…", Modifier.fillMaxWidth(), minHeight = 90.dp)
|
||||||
Spacer(Modifier.height(10.dp))
|
Spacer(Modifier.height(10.dp))
|
||||||
|
|||||||
Reference in New Issue
Block a user