Gate home_dir import on non-Android

Fix the remaining Android build warning by only importing dirs::home_dir when it is used.

This keeps the desktop default unchanged and avoids an unused_imports warning under cargo-ndk.
This commit is contained in:
Iliyan Malchev
2026-02-06 08:49:31 -08:00
parent 3df5293010
commit 74b8713a41

View File

@@ -1,3 +1,4 @@
#[cfg(not(target_os = "android"))]
use dirs::home_dir;
use std::path::PathBuf;