Skip to content

fix: add an initial state to the system_information example#2681

Merged
hecrj merged 2 commits intoiced-rs:masterfrom
xosxos:patch-1
Dec 3, 2024
Merged

fix: add an initial state to the system_information example#2681
hecrj merged 2 commits intoiced-rs:masterfrom
xosxos:patch-1

Conversation

@xosxos
Copy link
Contributor

@xosxos xosxos commented Dec 1, 2024

FYI: The system_information example was eternally stuck at the loading screen (tested on macOS).

Fix on my system:
Create an initial state of (Example::Loading, Task<Message::Refresh>) using run_with on the Application builder.

xosxos and others added 2 commits December 3, 2024 01:28
The example was not running the `update` method and was stuck on the loading screen (at least on macos). This fixes is on my system.
@hecrj hecrj added this to the 0.14 milestone Dec 3, 2024
@hecrj hecrj added improvement An internal improvement fix labels Dec 3, 2024
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hecrj hecrj enabled auto-merge December 3, 2024 00:28
@hecrj hecrj merged commit 9c93341 into iced-rs:master Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix improvement An internal improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants