Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Conversation

@connyduck
Copy link
Collaborator

When the emoji pack changes and MainActivity is recreated status bar and navigation bar turn dark in edge-to-edge mode (Android 15), we would need the same workaround as here in MainActivity as well.

But why not handle the restart in AccountActivity as we do for all other preferences that require it.

@connyduck connyduck requested review from Tak and charlag April 11, 2025 19:18
PrefKeys.STATUS_TEXT_SIZE, PrefKeys.ABSOLUTE_TIME_VIEW, PrefKeys.SHOW_BOT_OVERLAY, PrefKeys.ANIMATE_GIF_AVATARS, PrefKeys.USE_BLURHASH,
PrefKeys.SHOW_SELF_USERNAME, PrefKeys.SHOW_CARDS_IN_TIMELINES, PrefKeys.CONFIRM_REBLOGS, PrefKeys.CONFIRM_FAVOURITES,
PrefKeys.ENABLE_SWIPE_FOR_TABS, PrefKeys.MAIN_NAV_POSITION, PrefKeys.HIDE_TOP_TOOLBAR, PrefKeys.SHOW_STATS_INLINE -> {
EMOJI_PREFERENCE, PrefKeys.ENABLE_SWIPE_FOR_TABS, PrefKeys.MAIN_NAV_POSITION, PrefKeys.HIDE_TOP_TOOLBAR, PrefKeys.SHOW_STATS_INLINE -> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's a little weird that EMOJI_PREFERENCE is the only one specifically imported here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is because its from a library and not from our code

@connyduck connyduck merged commit 8ad5609 into develop Apr 15, 2025
1 check passed
@connyduck connyduck deleted the fix-activity-restart-when-emoji-pack-changed branch April 15, 2025 05:50
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.

3 participants