Skip to content

Commit 1f628e5

Browse files
committed
feat: make error message red
1 parent 75c0aa6 commit 1f628e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ impl LogViewerApp {
290290
if ui.button("Clear Error Status").clicked() {
291291
self.loading_status = LoadingStatus::NotInProgress;
292292
}
293-
ui.label(msg);
293+
ui.colored_label(ui.visuals().error_fg_color, msg);
294294
}
295295
LoadingStatus::Success(data) => {
296296
self.loading_status = match Data::try_from(&data[..]) {

0 commit comments

Comments
 (0)