use concise import syntax for macOS theme-lock

This commit is contained in:
maxichrome committed 2022-06-17 06:14:24 -05:00
1 parent 84d8648b1a
commit c0184ec9f0
1 file changed
+3 -1
+3 -1
View File
@@ -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)| {