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

Bugfix. Dark theme is now correctly applied in bottom sheets #619

Merged

Conversation

iskandergaba
Copy link
Contributor

@iskandergaba iskandergaba commented Jan 9, 2019

However, this does not fix #613 and the RecyclerView showing the sharing app buttons displays incorrect text colors THE FIRST TIME ONLY, which is caused by the same issue in #613. For some reason, when the NoteEditorActivity is opened the first time in since opening the app, the app suddenly switches from night mode to day mode. I spent the whole day looking for the cause with no success.

The theming however is fixed and I believe can be safely merged. The slight bug remaining is a result of #613. After a lot of testing, I am confident that fixing #613 will also fix it here. But that is another issue for another day/night.

Here are the results in dark theme:

Info Bottom Sheet
1

Share Bottom Sheet
2

History Bottom Sheet
3

@roundhill The pull request comes also with many minor code quality improvements.
Cheers!

… theme is applied. However, this does not fix Automattic#613 and the `RecyclerView` showing the sharing app buttons displays incorrect text colors THE FIRST TIME ONLY, which is caused by the same issue in Automattic#613.
@roundhill
Copy link
Contributor

Can the background color of the sheets match the background color we are using in the other areas of the app? I think it's attr/mainBackgroundColor

@iskandergaba
Copy link
Contributor Author

iskandergaba commented Jan 10, 2019

@roundhill The requested changes are implemented for all the sheets. Check screenshots below for Info sheet.

Dark

dark

Light

light

@iskandergaba iskandergaba changed the title #618 bug fix. Dark theme is now correctly applied in bottom sheets Bugfix: Dark theme is now correctly applied in bottom sheets Jan 10, 2019
@iskandergaba iskandergaba changed the title Bugfix: Dark theme is now correctly applied in bottom sheets Bugfix. Dark theme is now correctly applied in bottom sheets Jan 10, 2019
@roundhill
Copy link
Contributor

Thanks @iskandergaba! :shipit:

@roundhill roundhill merged commit aa7c3b2 into Automattic:develop Jan 10, 2019
@iskandergaba iskandergaba deleted the bugfix/618-bottom-sheets-dark-themes branch January 10, 2019 21:47
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.

Open in Browser button and others do not appear correctly in Dark Mode
2 participants