From 221cdb361188cd2e87a2f4a53c4986b26d93d3a3 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Tue, 8 Mar 2022 21:40:10 +0100 Subject: [PATCH] move "animate custom emojis" preference next to "animate avatars" (#2376) --- .../components/preference/PreferencesFragment.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/preference/PreferencesFragment.kt b/app/src/main/java/com/keylesspalace/tusky/components/preference/PreferencesFragment.kt index e585e78ff..9e41f5017 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/preference/PreferencesFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/preference/PreferencesFragment.kt @@ -138,6 +138,13 @@ class PreferencesFragment : PreferenceFragmentCompat(), Injectable { isSingleLineTitle = false } + switchPreference { + setDefaultValue(false) + key = PrefKeys.ANIMATE_CUSTOM_EMOJIS + setTitle(R.string.pref_title_animate_custom_emojis) + isSingleLineTitle = false + } + switchPreference { setDefaultValue(true) key = PrefKeys.USE_BLURHASH @@ -179,13 +186,6 @@ class PreferencesFragment : PreferenceFragmentCompat(), Injectable { setTitle(R.string.pref_title_enable_swipe_for_tabs) isSingleLineTitle = false } - - switchPreference { - setDefaultValue(false) - key = PrefKeys.ANIMATE_CUSTOM_EMOJIS - setTitle(R.string.pref_title_animate_custom_emojis) - isSingleLineTitle = false - } } preferenceCategory(R.string.pref_title_browser_settings) {