fix: set platform specific app id

This commit is contained in:
Ashley Wulber 2023-12-27 16:03:09 -05:00 committed by Ashley Wulber
parent b8f1a366dd
commit a731ebc1b2

View file

@ -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(all(not(feature = "wayland"), target_os = "linux"))]
{
iced.window.platform_specific.application_id = App::APP_ID.to_string();
}
#[cfg(feature = "wayland")]
{