Use directories-next in todos example
This commit is contained in:
parent
1475b10dff
commit
0400f6716b
2 changed files with 2 additions and 2 deletions
|
|
@ -499,7 +499,7 @@ enum SaveError {
|
|||
impl SavedState {
|
||||
fn path() -> std::path::PathBuf {
|
||||
let mut path = if let Some(project_dirs) =
|
||||
directories::ProjectDirs::from("rs", "Iced", "Todos")
|
||||
directories_next::ProjectDirs::from("rs", "Iced", "Todos")
|
||||
{
|
||||
project_dirs.data_dir().into()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue