diff --git a/ctru-rs/examples/file-explorer.rs b/ctru-rs/examples/file-explorer.rs index 3ad37c9..0c2b595 100644 --- a/ctru-rs/examples/file-explorer.rs +++ b/ctru-rs/examples/file-explorer.rs @@ -6,6 +6,7 @@ use ctru::applets::swkbd::{Button, SoftwareKeyboard}; use ctru::prelude::*; +use ctru::services::gfx::TopScreen; use std::fs::DirEntry; use std::os::horizon::fs::MetadataExt; use std::path::{Path, PathBuf}; @@ -26,7 +27,7 @@ struct FileExplorer<'a> { apt: &'a Apt, hid: &'a mut Hid, gfx: &'a Gfx, - console: Console<'a>, + console: Console<'a, TopScreen>, path: PathBuf, entries: Vec, running: bool,