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

BluetoothPage: dialog improvements #265

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

Feichtmeier
Copy link
Member

  • use ChangeNotifierProvider.value instead of statefulbuilder
  • use YaruDialogTitle to get the close button and correct styling in the dialog

This also speeds up the process of displaying the connect/disconnect state for the switch about one second.

Bildschirmfoto von 2022-02-07 11-42-16

- use ChangeNotifierProvider.value instead of statefulbuilder
- use YaruDialogTitle to get the close button and correct styling in the dialog
@Jupi007
Copy link
Collaborator

Jupi007 commented Feb 7, 2022

Very nice!

@Feichtmeier Feichtmeier merged commit 185c8e0 into master Feb 7, 2022
@Feichtmeier Feichtmeier deleted the bluetooth_remove_stateful_builder branch February 7, 2022 10:50
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