aboutsummaryrefslogtreecommitdiff
path: root/src/tui/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/ui.rs')
-rw-r--r--src/tui/ui.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tui/ui.rs b/src/tui/ui.rs
index 6a3b8de..4f64338 100644
--- a/src/tui/ui.rs
+++ b/src/tui/ui.rs
@@ -283,7 +283,7 @@ pub fn render_popup(app: &mut App, args: &CLIArgs, frame: &mut Frame) {
frame.render_widget(Clear, popup_area);
frame.render_widget(&content, popup_area)
}
- Some(PopupKind::SelectRes) | Some(PopupKind::SelectFile) => {
+ Some(PopupKind::OpenRes) | Some(PopupKind::AppendToFile) => {
let list_items: Vec<ListItem> = app
.bibiman
.popup_area
@@ -292,9 +292,9 @@ pub fn render_popup(app: &mut App, args: &CLIArgs, frame: &mut Frame) {
.map(|item| ListItem::from(item.to_owned()))
.collect();
- let title = if let Some(PopupKind::SelectRes) = app.bibiman.popup_area.popup_kind {
+ let title = if let Some(PopupKind::OpenRes) = app.bibiman.popup_area.popup_kind {
" Open "
- } else if let Some(PopupKind::SelectFile) = app.bibiman.popup_area.popup_kind {
+ } else if let Some(PopupKind::AppendToFile) = app.bibiman.popup_area.popup_kind {
" Select file to append entry "
} else {
" Select "