fmt
This commit is contained in:
1 parent
29bda8aa48
commit
fd2a5f5a6b
1 file changed
-2
@@ -104,14 +104,12 @@ impl DesktopConfig {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Add a custom icon for this application
|
/// Add a custom icon for this application
|
||||||
pub fn with_icon(&mut self, icon: Icon) -> &mut Self {
|
pub fn with_icon(&mut self, icon: Icon) -> &mut Self {
|
||||||
self.window.window.window_icon = Some(icon);
|
self.window.window.window_icon = Some(icon);
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Inject additional content into the document's HEAD.
|
/// Inject additional content into the document's HEAD.
|
||||||
///
|
///
|
||||||
/// This is useful for loading CSS libraries, JS libraries, etc.
|
/// This is useful for loading CSS libraries, JS libraries, etc.
|
||||||
|
|||||||
Reference in new issue
Block a user