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

add init method for settings with flags #266

Merged
merged 1 commit into from Apr 6, 2020

Conversation

robjtede
Copy link
Contributor

@robjtede robjtede commented Apr 6, 2020

current flags init:

let mut settings = iced::Settings::default();
settings.flags = data;

new flags init:

let settings = iced::Settings::with_flags(data);

@hecrj hecrj added the feature New feature or request label Apr 6, 2020
@hecrj hecrj added this to the 0.1.1 milestone Apr 6, 2020
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.

Looks great! Thank you.

@hecrj hecrj merged commit 6e38631 into iced-rs:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants