Skip to content

Commit

Permalink
new file info update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed Jun 8, 2024
1 parent 70ef5e3 commit 8698cbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ pub fn render(app: &mut App, frame: &mut Frame) {
} else {
format!("Filename: {} ", app.opened_filename)
}
} else {
} else if app.dirty {
"Not saved!".into()
} else {
"".into()
};

let filename_status = Line::from(filename_content)
Expand Down

0 comments on commit 8698cbc

Please sign in to comment.