Skip to content

Commit

Permalink
fix: set platform specific app id
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Dec 27, 2023
1 parent b8f1a36 commit 4112bb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ pub(crate) fn iced_settings<App: Application>(
iced.default_text_size = iced::Pixels(settings.default_text_size);
iced.exit_on_close_request = settings.exit_on_close;
iced.id = Some(App::APP_ID.to_owned());
#[cfg(target_os = "linux")]
{
iced.window.platform_specific.application_id = App::APP_ID.to_string();

Check failure on line 93 in src/app/mod.rs

View workflow job for this annotation

GitHub Actions / examples (open-dialog)

no field `window` on type `iced::Settings<(Core, <App as app::Application>::Flags)>`

Check failure on line 93 in src/app/mod.rs

View workflow job for this annotation

GitHub Actions / tests (wayland)

no field `window` on type `iced::Settings<(Core, <App as app::Application>::Flags)>`

Check failure on line 93 in src/app/mod.rs

View workflow job for this annotation

GitHub Actions / tests (applet)

no field `window` on type `iced::Settings<(Core, <App as app::Application>::Flags)>`
}

#[cfg(feature = "wayland")]
{
Expand Down

0 comments on commit 4112bb9

Please sign in to comment.