|
@ -42,10 +42,12 @@ struct EventView: View { |
|
|
} |
|
|
} |
|
|
.frame(maxWidth: .infinity, alignment: .leading) |
|
|
.frame(maxWidth: .infinity, alignment: .leading) |
|
|
Spacer() |
|
|
Spacer() |
|
|
|
|
|
if (event.pow ?? 0) >= 10 { |
|
|
Text("\(event.pow ?? 0)") |
|
|
Text("\(event.pow ?? 0)") |
|
|
.font(.callout) |
|
|
.font(.callout) |
|
|
.foregroundColor(calculate_pow_color(event.pow ?? 0)) |
|
|
.foregroundColor(calculate_pow_color(event.pow ?? 0)) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
Text(event.content) |
|
|
Text(event.content) |
|
|
.textSelection(.enabled) |
|
|
.textSelection(.enabled) |
|
|
.frame(maxWidth: .infinity, alignment: .leading) |
|
|
.frame(maxWidth: .infinity, alignment: .leading) |
|
|