Skip to content

Conversation

aanorbel
Copy link
Member

No description provided.

dependencies.runBackgroundStateManager.observeState().collect { state ->
trayIcon = when (state) {
is RunBackgroundState.RunningTests -> Res.drawable.tray_icon
// is RunBackgroundState.RunningTests -> state.descriptor?.icon ?: Res.drawable.tray_icon
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this still WIP?

Copy link
Member Author

Choose a reason for hiding this comment

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

I dont think we have icons for when the app is running tasks. So i left it in this state.

Copy link
Contributor

@sdsantos sdsantos left a comment

Choose a reason for hiding this comment

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

Pending confirming the Windows tray icon is good.

@aanorbel aanorbel merged commit 084623c into main May 2, 2025
8 checks passed
@aanorbel aanorbel deleted the desktop-progress-state branch May 2, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants