Adding an icon and text to the hide compose button while scrolling setting

This commit is contained in:
LucasGGamerM
2023-01-23 17:50:07 -03:00
parent 6a84462b79
commit 53d93764b0
2 changed files with 2 additions and 1 deletions

View File

@@ -211,7 +211,7 @@ public class SettingsFragment extends MastodonToolbarFragment{
GlobalUserPreferences.save();
needAppRestart=true;
}));
items.add(new SwitchItem(R.string.sk_settings_reduce_motion, R.drawable.ic_fluent_star_emphasis_24_regular, GlobalUserPreferences.disableFab, i->{
items.add(new SwitchItem(R.string.sk_hide_compose_button_while_scrolling_setting, R.drawable.ic_fluent_edit_24_regular, GlobalUserPreferences.disableFab, i->{
GlobalUserPreferences.disableFab=i.checked;
GlobalUserPreferences.save();
needAppRestart=true;