summaryrefslogtreecommitdiffstats
path: root/src/commands/show_hidden.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/show_hidden.rs')
-rw-r--r--src/commands/show_hidden.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/show_hidden.rs b/src/commands/show_hidden.rs
index cedcdb2..3a51c84 100644
--- a/src/commands/show_hidden.rs
+++ b/src/commands/show_hidden.rs
@@ -2,7 +2,7 @@ use crate::commands::{JoshutoCommand, JoshutoRunnable, ReloadDirList};
use crate::context::JoshutoContext;
use crate::error::JoshutoResult;
use crate::history::DirectoryHistory;
-use crate::window::JoshutoView;
+use crate::ui::TuiBackend;
#[derive(Clone, Debug)]
pub struct ToggleHiddenFiles;
@@ -34,8 +34,8 @@ impl std::fmt::Display for ToggleHiddenFiles {
}
impl JoshutoRunnable for ToggleHiddenFiles {
- fn execute(&self, context: &mut JoshutoContext, view: &JoshutoView) -> JoshutoResult<()> {
+ fn execute(&self, context: &mut JoshutoContext, backend: &mut TuiBackend) -> JoshutoResult<()> {
Self::toggle_hidden(context);
- ReloadDirList::new().execute(context, view)
+ ReloadDirList::new().execute(context, backend)
}
}