feat: Refactor all keybinding tips into a dynamically changing menu that can be invoked via '?' [#32]
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
use crate::models::Route;
|
||||
|
||||
pub mod modals;
|
||||
pub mod radarr;
|
||||
pub mod sonarr;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "servarr_data_tests.rs"]
|
||||
mod servarr_data_tests;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug, Default)]
|
||||
pub enum ActiveKeybindingBlock {
|
||||
#[default]
|
||||
Help,
|
||||
}
|
||||
|
||||
impl From<ActiveKeybindingBlock> for Route {
|
||||
fn from(_active_keybinding_block: ActiveKeybindingBlock) -> Route {
|
||||
Route::Keybindings
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user