Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a WidgetConfigureActivity base class #2488

Merged

Conversation

NotWoods
Copy link
Contributor

Summary

Adds a base class for the widget configure activities. As a result some logic can be shared - initially just the delete dialog.

Also updated the delete widget operation to use coroutines.

@jpelgrom
Copy link
Member

@NotWoods In case you hadn't noticed, ktlint doesn't like the code and there's also a merge conflict now

Aside from that this seems like a good improvement to me!

@NotWoods NotWoods force-pushed the shared-widget-configure-activity branch from 61b9c7c to e944959 Compare May 24, 2022 01:12
@NotWoods NotWoods force-pushed the shared-widget-configure-activity branch from e944959 to a72d772 Compare May 24, 2022 01:14
@JBassett JBassett merged commit 7b87209 into home-assistant:master May 29, 2022
@NotWoods NotWoods deleted the shared-widget-configure-activity branch May 29, 2022 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants