chore: enable ico and xpm image support for desktop feature
This commit is contained in:
parent
46d9f0c344
commit
3d8d8915be
2 changed files with 9 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ impl<A: crate::app::Application> BootFn<cosmic::Cosmic<A>, crate::Action<A::Mess
|
|||
///
|
||||
/// Returns error on application failure.
|
||||
pub fn run<App: Application>(settings: Settings, flags: App::Flags) -> iced::Result {
|
||||
#[cfg(feature = "desktop")]
|
||||
image_extras::register();
|
||||
|
||||
#[cfg(all(target_env = "gnu", not(target_os = "windows")))]
|
||||
if let Some(threshold) = settings.default_mmap_threshold {
|
||||
crate::malloc::limit_mmap_threshold(threshold);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue