Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Fix crash, goldens, demo status bar icon color #936

Merged
merged 15 commits into from
Apr 27, 2023
Merged

Fix crash, goldens, demo status bar icon color #936

merged 15 commits into from
Apr 27, 2023

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented Apr 26, 2023

Description

For 2.10.1 release:

  1. Fix a common crash when opening a demo for the first time, caused by feature discovery. shared_preferences had undesireable asynchronous behavior, so I replaced it with get_storage.

  2. I also wanted to fix the goldens test, but found the Positioned widget around the settings icon was unnecessarily adding padding, so removed it.

image

  1. Fix the demo status bar icon color in light mode to use the correct SystemUiOverlayStyle.

Tests

Tested manually

Issues

Fixes Firebase-detected crash

@guidezpl guidezpl changed the title Fix crash and goldens Fix crash, goldens, demo status bar icon color Apr 26, 2023
@guidezpl guidezpl requested a review from esouthren April 26, 2023 13:54
Copy link

@esouthren esouthren left a comment

Choose a reason for hiding this comment

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

LGTM with some minor comments

lib/feature_discovery/overlay.dart Outdated Show resolved Hide resolved
lib/pages/demo.dart Outdated Show resolved Hide resolved
@guidezpl guidezpl requested a review from esouthren April 26, 2023 15:26
@guidezpl guidezpl merged commit 287b20a into main Apr 27, 2023
@guidezpl guidezpl deleted the fixes branch April 27, 2023 15:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants