added scaffolding for function
This commit is contained in:
parent
20700e8a38
commit
f639d350b9
1 changed files with 16 additions and 0 deletions
|
@ -69,4 +69,20 @@ pub fn render_new_transaction_tab<B: Backend> (f: &mut Frame<B>, body_rect: Rect
|
||||||
);
|
);
|
||||||
f.render_widget(tab, tab_chunks[i])
|
f.render_widget(tab, tab_chunks[i])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
match app.states.transactions.tabs[app.states.transactions.cur_tab_index] {
|
||||||
|
"Quick Entry" => render_quick_entry(f, chunks[1], app),
|
||||||
|
"Manual Entry" => render_manual_entry(f, chunks[1], app),
|
||||||
|
_ => return
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn render_manual_entry <B: Backend> (f: &mut Frame<B>, area: Rect, app: &App) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
pub fn render_quick_entry<B: Backend> (f: &mut Frame<B>, area: Rect, app: &App) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue