mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-17 02:09:09 +08:00
0f62829599
The Tauri command `get_init_error` was importing a function with the same name from `init_status` module, causing a compile-time error: "the name `get_init_error` is defined multiple times". Changes: - Remove `get_init_error` from the use statement in misc.rs - Use fully qualified path `crate::init_status::get_init_error()` in the command implementation to call the underlying function This eliminates the ambiguity while keeping the public API unchanged.