Skip to content

Conversation

@tusharojha
Copy link
Contributor

Description

Added the Restore Defaults option in the settings menu. The idea is to incorporate a feature that makes sense for adding a CupertinoAlertDialog in the app.

Related Issue #546

Screenshot:
WhatsApp Image 2021-01-06 at 1 35 07 PM

@tusharojha
Copy link
Contributor Author

@domesticmouse & @redbrogdon kindly review and suggest changes if any.

Copy link
Contributor

@redbrogdon redbrogdon left a comment

Choose a reason for hiding this comment

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

I like this idea. It definitely seems like a realistic way to work a dialog into the application.

@LongCatIsLooong or @xster, would either of you mind giving this a quick look to make sure it aligns with iOS UI guidelines? I don't know, for example, whether it's common to have a settings item act like a button this way.

Copy link

@LongCatIsLooong LongCatIsLooong left a comment

Choose a reason for hiding this comment

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

The CupertinoAlertDialog looks good to me. Thank you!

Copy link
Contributor

@domesticmouse domesticmouse left a comment

Choose a reason for hiding this comment

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

Do we expose Apple's UIColor system colours somewhere? We should probably be using those, not hard coded constants...

@domesticmouse
Copy link
Contributor

PTAL @redbrogdon

@redbrogdon redbrogdon merged commit 1fae13e into flutter:master Jan 31, 2021
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.

4 participants