Skip to content

Update target SDK 35, AGP to 8.11, publish-to-s3 to 0.10 and fixed issues with dark mode #251

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

Merged
merged 11 commits into from
Aug 7, 2025

Conversation

mzorz
Copy link
Contributor

@mzorz mzorz commented Aug 6, 2025

Keeping the simperium library up to date, plus addressing this issue Automattic/simplenote-android#1741 for which we needed to make updates to the underlying auth activities.

Login:

Login - Before Login - After Login - After - button enabled
image image image

Sign up:

Signup - Before Signup - After Signup - After - button enabled
image image image

To test

implementation 'com.automattic:simperium:251-2707fc58fab32757668a6290a7e3df8e89edbce1'

Copy link
Contributor

@theck13 theck13 left a comment

Choose a reason for hiding this comment

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

I only have superficial suggestions for these changes. They are not required merge though. Rather than leaving a comment on every reference to background_primary, created a pull request targeting the mzorz/target-sdk-35-and-better-dark-mode branch (#252). Feel free to apply any of my suggestions and merge that pull request into this one or merge these changes as is.

Comment on lines 5 to 14
<style name="BaseBottomSheetDialog" parent="Theme.MaterialComponents.DayNight.BottomSheetDialog">
<item name="android:colorBackground">@color/background_primary</item>
<item name="android:windowIsFloating">false</item>
<item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
</style>

<style name="BottomSheetDialogTheme" parent="BaseBottomSheetDialog">
<item name="android:statusBarColor">@android:color/transparent</item>
</style>

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<style name="BaseBottomSheetDialog" parent="Theme.MaterialComponents.DayNight.BottomSheetDialog">
<item name="android:colorBackground">@color/background_primary</item>
<item name="android:windowIsFloating">false</item>
<item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
</style>
<style name="BottomSheetDialogTheme" parent="BaseBottomSheetDialog">
<item name="android:statusBarColor">@android:color/transparent</item>
</style>

Since the BaseBottomSheetDialog and BottomSheetDialogTheme styles are exactly the same for both values/styles.xml and values-night/styles.xml, we can delete them in values-night/styles.xml. It doesn't hurt to leave keep them though. It's just a suggestion in case we want to add only the differences between dark and light styles in values-night/styles.xml.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

perfect, addressed in 4066d5a (can't apply an "outdated suggestion" since the branch moved)

Copy link
Contributor

@theck13 theck13 left a comment

Choose a reason for hiding this comment

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

It looks good to me. Thanks for all the work on this one!

Copy link

@obsantos obsantos left a comment

Choose a reason for hiding this comment

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

@mzorz mzorz merged commit d9f2fd0 into trunk Aug 7, 2025
2 checks passed
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.

3 participants