PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Fix rustfmt on viewport_icon for CI format check.
nrq6993-a11ya2372a9ce205
diff --git a/apps/photocraft/src/app_icon.rs b/apps/photocraft/src/app_icon.rsindex 142c47b9d..e20e70206 100644--- a/apps/photocraft/src/app_icon.rs+++ b/apps/photocraft/src/app_icon.rs@@ -38,11 +38,7 @@ pub fn sets_runtime_icon(exe: Option<&std::path::Path>) -> bool {/// is true; otherwise [`egui::IconData::default`] so eframe does not substitute its own icon/// on the Dock after the window opens (#7253).pub fn viewport_icon(exe: Option<&std::path::Path>) -> egui::IconData {- if sets_runtime_icon(exe) {- window_icon()- } else {- egui::IconData::default()- }+ if sets_runtime_icon(exe) { window_icon() } else { egui::IconData::default() }}/// Whether `exe` is an app bundle's executable: `…/Name.app/Contents/MacOS/binary`.