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

fix(app-bar): remove safe area of the app bar in photos page #10340

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

RanKKI
Copy link
Contributor

@RanKKI RanKKI commented Jun 15, 2024

fixed #10010, #10234

Before
Screenshot 2024-06-15 at 11 54 30

After
Screenshot 2024-06-15 at 11 54 19

Reason

The SafeArea used to ensure widget not overlapping with system widgets, but it pushed the appbar to top by 'bottom padding', thus we can't see (or partially see) app bar on android tablets (due to the huge bottom padding).

it used MediaQuery.of(context).padding.top to avoid overlap with the top already, so there is no need to use SafeArea.

@alextran1502 alextran1502 merged commit 1cd51cc into immich-app:main Jun 15, 2024
25 checks passed
@RanKKI RanKKI deleted the fix/app-bar-on-android-tablet branch June 16, 2024 23:38
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.

Issue with navbar in Android
2 participants