|
|
|
@ -6,6 +6,7 @@
@@ -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> {
@@ -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<DirEntry>, |
|
|
|
|
running: bool, |
|
|
|
|