mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 13:23:28 +00:00
use concise import syntax for macOS theme-lock
This commit is contained in:
parent
84d8648b1a
commit
c0184ec9f0
|
@ -65,7 +65,9 @@ async fn main() {
|
|||
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
macos::lock_app_theme(macos::AppThemeType::Dark as _);
|
||||
use macos::{lock_app_theme, AppThemeType};
|
||||
|
||||
lock_app_theme(AppThemeType::Dark as _);
|
||||
}
|
||||
|
||||
app.windows().iter().for_each(|(_, window)| {
|
||||
|
|
Loading…
Reference in a new issue