This commit is contained in:
Jonathan Kelley committed 2022-04-16 17:02:57 -04:00
1 parent 29bda8aa48
commit fd2a5f5a6b
1 file changed
-2
-2
View File
@@ -104,14 +104,12 @@ impl DesktopConfig {
self
}
/// Add a custom icon for this application
pub fn with_icon(&mut self, icon: Icon) -> &mut Self {
self.window.window.window_icon = Some(icon);
self
}
/// Inject additional content into the document's HEAD.
///
/// This is useful for loading CSS libraries, JS libraries, etc.