mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-05 22:03:16 -04:00
use concise import syntax for macOS theme-lock
This commit is contained in:
@@ -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)| {
|
||||
|
||||
Reference in New Issue
Block a user