added scaffolding for function

This commit is contained in:
Nickiel12 2023-08-11 23:19:01 -07:00
parent 20700e8a38
commit f639d350b9

View file

@ -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])
}
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) {
}