diff options
author | Constantin Nickel <constantin.nickel@gmail.com> | 2023-03-24 18:13:24 +0100 |
---|---|---|
committer | Constantin Nickel <constantin.nickel@gmail.com> | 2023-03-24 19:10:38 +0100 |
commit | 0e148e35dd086267f54852ba2811e11d76497172 (patch) | |
tree | 717c9630e813872ab4dc8309e0a61349d0f79bd6 /src/assets.rs | |
parent | d20405b975ee4e0927e39d4ba9ef89991a41d685 (diff) |
Replace `dirs-next` with the original `dirs` crate
The `dirs` crate was forked as `dirs-next` after the original repos were archived.
The fork hasn't released a new version since October 2020, while the original
has been taken off the shelf and has seen updates since then.
Diffstat (limited to 'src/assets.rs')
-rw-r--r-- | src/assets.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assets.rs b/src/assets.rs index d43f4321..595d301b 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -404,7 +404,7 @@ fn macos_dark_mode_active() -> bool { const PREFERENCES_FILE: &str = "Library/Preferences/.GlobalPreferences.plist"; const STYLE_KEY: &str = "AppleInterfaceStyle"; - let preferences_file = dirs_next::home_dir() + let preferences_file = dirs::home_dir() .map(|home| home.join(PREFERENCES_FILE)) .expect("Could not get home directory"); |