diff options
| author | lukeflo | 2024-10-08 23:17:55 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-12 22:41:38 +0200 |
| commit | abec380f1b09b1a6ef00ab6eb9c35674588bebe4 (patch) | |
| tree | 5adf8e6af8d3352949584636fb5b8039be5ecd02 /src | |
| parent | 4321e52a95b398dd507092dd5b8aa9a14c2eee7b (diff) | |
| download | bibiman-abec380f1b09b1a6ef00ab6eb9c35674588bebe4.tar.gz bibiman-abec380f1b09b1a6ef00ab6eb9c35674588bebe4.zip | |
little fix with empty line above file
Diffstat (limited to 'src')
| -rw-r--r-- | src/frontend/ui.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend/ui.rs b/src/frontend/ui.rs index ed6171e..6a292d7 100644 --- a/src/frontend/ui.rs +++ b/src/frontend/ui.rs @@ -270,8 +270,10 @@ impl App { Span::styled("Year: ", style_value), Span::styled(cur_entry.year.clone(), Style::new().light_magenta()), ])); - if !cur_entry.doi_url.is_empty() { + if !cur_entry.doi_url.is_empty() || !cur_entry.filepath.is_empty() { lines.push(Line::raw("")); + } + if !cur_entry.doi_url.is_empty() { lines.push(Line::from(vec