feat: add a settings toggle for remote profile lookups
Adds a toggle for the remote followers
This commit is contained in:
parent
ba997903b6
commit
180cf3c902
|
@ -187,6 +187,10 @@ public class SettingsFragment extends MastodonToolbarFragment{
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
needAppRestart=true;
|
needAppRestart=true;
|
||||||
}));
|
}));
|
||||||
|
items.add(new SwitchItem(R.string.mo_load_remote_followers, R.drawable.ic_fluent_people_24_regular, GlobalUserPreferences.loadRemoteAccountFollowers, i -> {
|
||||||
|
GlobalUserPreferences.loadRemoteAccountFollowers=i.checked;
|
||||||
|
GlobalUserPreferences.save();
|
||||||
|
}));
|
||||||
items.add(new SwitchItem(R.string.sk_settings_confirm_before_reblog, R.drawable.ic_fluent_checkmark_circle_24_regular, GlobalUserPreferences.confirmBeforeReblog, i->{
|
items.add(new SwitchItem(R.string.sk_settings_confirm_before_reblog, R.drawable.ic_fluent_checkmark_circle_24_regular, GlobalUserPreferences.confirmBeforeReblog, i->{
|
||||||
GlobalUserPreferences.confirmBeforeReblog=i.checked;
|
GlobalUserPreferences.confirmBeforeReblog=i.checked;
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
|
|
|
@ -53,4 +53,5 @@
|
||||||
<string name="mo_disable_double_tap_to_swipe_between_tabs">Disable double tap to swipe between tabs</string>
|
<string name="mo_disable_double_tap_to_swipe_between_tabs">Disable double tap to swipe between tabs</string>
|
||||||
<string name="mo_swap_bookmark_with_reblog">Use reblog action instead of bookmark action on notifications</string>
|
<string name="mo_swap_bookmark_with_reblog">Use reblog action instead of bookmark action on notifications</string>
|
||||||
<string name="mo_download_latest_nightly_release">Download latest nightly release</string>
|
<string name="mo_download_latest_nightly_release">Download latest nightly release</string>
|
||||||
|
<string name="mo_load_remote_followers">Load remote profile follows and followers</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue