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(); GlobalUserPreferences.save();
needAppRestart=true; 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.disableFab=i.checked;
GlobalUserPreferences.save(); GlobalUserPreferences.save();
needAppRestart=true; needAppRestart=true;

View File

@ -163,6 +163,7 @@
<string name="sk_remove_follower_confirm">Remove %s as a follower by blocking and immediately unblocking them?</string> <string name="sk_remove_follower_confirm">Remove %s as a follower by blocking and immediately unblocking them?</string>
<string name="sk_do_remove_follower">Remove</string> <string name="sk_do_remove_follower">Remove</string>
<string name="sk_remove_follower_success">Successfully removed follower</string> <string name="sk_remove_follower_success">Successfully removed follower</string>
<string name="sk_hide_compose_button_while_scrolling_setting">Hide compose button while scrolling</string>
<!-- accessibility labels--> <!-- accessibility labels-->
<string name="sk_poll_option_add">Add new poll option</string> <string name="sk_poll_option_add">Add new poll option</string>