From 229c815a59e2d85570d1a6e2b250e7282dfae3f7 Mon Sep 17 00:00:00 2001 From: sk Date: Wed, 9 Nov 2022 10:32:12 +0100 Subject: [PATCH] move option to home timeline section --- .../joinmastodon/android/fragments/SettingsFragment.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java index 7c5a11921..39286007e 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java @@ -104,10 +104,6 @@ public class SettingsFragment extends MastodonToolbarFragment{ GlobalUserPreferences.useCustomTabs=i.checked; GlobalUserPreferences.save(); })); - items.add(new SwitchItem(R.string.settings_load_new_posts, R.drawable.ic_fluent_arrow_up_24_regular, GlobalUserPreferences.loadNewPosts, i->{ - GlobalUserPreferences.loadNewPosts=i.checked; - GlobalUserPreferences.save(); - })); items.add(new HeaderItem(R.string.home_timeline)); items.add(new SwitchItem(R.string.settings_show_replies, R.drawable.ic_fluent_chat_multiple_24_regular, GlobalUserPreferences.showReplies, i->{ @@ -118,6 +114,10 @@ public class SettingsFragment extends MastodonToolbarFragment{ GlobalUserPreferences.showBoosts=i.checked; GlobalUserPreferences.save(); })); + items.add(new SwitchItem(R.string.settings_load_new_posts, R.drawable.ic_fluent_arrow_up_24_regular, GlobalUserPreferences.loadNewPosts, i->{ + GlobalUserPreferences.loadNewPosts=i.checked; + GlobalUserPreferences.save(); + })); items.add(new HeaderItem(R.string.settings_notifications)); items.add(notificationPolicyItem=new NotificationPolicyItem());