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

Commit 51cdf69

Browse files
authored
dont recreate activities when confirm boost/fav setting changes (#5121)
It is not necessary because the settings are read when the buttons are clicked since #5084
1 parent 2296637 commit 51cdf69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/keylesspalace/tusky/components/preference/PreferencesActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ class PreferencesActivity :
159159
this.recreate()
160160
}
161161
PrefKeys.STATUS_TEXT_SIZE, PrefKeys.ABSOLUTE_TIME_VIEW, PrefKeys.SHOW_BOT_OVERLAY, PrefKeys.ANIMATE_GIF_AVATARS, PrefKeys.USE_BLURHASH,
162-
PrefKeys.SHOW_SELF_USERNAME, PrefKeys.SHOW_CARDS_IN_TIMELINES, PrefKeys.CONFIRM_REBLOGS, PrefKeys.CONFIRM_FAVOURITES,
163-
EMOJI_PREFERENCE, PrefKeys.ENABLE_SWIPE_FOR_TABS, PrefKeys.MAIN_NAV_POSITION, PrefKeys.HIDE_TOP_TOOLBAR, PrefKeys.SHOW_STATS_INLINE -> {
162+
PrefKeys.SHOW_SELF_USERNAME, PrefKeys.SHOW_CARDS_IN_TIMELINES, EMOJI_PREFERENCE, PrefKeys.ENABLE_SWIPE_FOR_TABS,
163+
PrefKeys.MAIN_NAV_POSITION, PrefKeys.HIDE_TOP_TOOLBAR, PrefKeys.SHOW_STATS_INLINE -> {
164164
restartActivitiesOnBackPressedCallback.isEnabled = true
165165
}
166166
}

0 commit comments

Comments
 (0)