Trying to process wtf happened here
This commit is contained in:
parent
49c83581f9
commit
9c1812ce08
|
@ -161,20 +161,20 @@ public class SettingsFragment extends MastodonToolbarFragment{
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
needAppRestart=true;
|
needAppRestart=true;
|
||||||
}));
|
}));
|
||||||
items.add(new SwitchItem(R.string.sk_enable_delete_notifications, R.drawable.ic_fluent_delete_24_regular, GlobalUserPreferences.enableDeleteNotifications, i->{
|
// items.add(new SwitchItem(R.string.sk_enable_delete_notifications, R.drawable.ic_fluent_delete_24_regular, GlobalUserPreferences.enableDeleteNotifications, i->{
|
||||||
GlobalUserPreferences.enableDeleteNotifications=i.checked;
|
// GlobalUserPreferences.enableDeleteNotifications=i.checked;
|
||||||
GlobalUserPreferences.save();
|
// GlobalUserPreferences.save();
|
||||||
needAppRestart=true;
|
// needAppRestart=true;
|
||||||
}));
|
// }));
|
||||||
items.add(new SwitchItem(R.string.sk_relocate_publish_button, R.drawable.ic_fluent_arrow_autofit_down_24_regular, GlobalUserPreferences.relocatePublishButton, i->{
|
items.add(new SwitchItem(R.string.sk_relocate_publish_button, R.drawable.ic_fluent_arrow_autofit_down_24_regular, GlobalUserPreferences.relocatePublishButton, i->{
|
||||||
GlobalUserPreferences.relocatePublishButton=i.checked;
|
GlobalUserPreferences.relocatePublishButton=i.checked;
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
}));
|
}));
|
||||||
items.add(new SwitchItem(R.string.sk_settings_hide_translate_in_timeline, R.drawable.ic_fluent_translate_24_regular, GlobalUserPreferences.translateButtonOpenedOnly, i->{
|
// items.add(new SwitchItem(R.string.sk_settings_hide_translate_in_timeline, R.drawable.ic_fluent_translate_24_regular, GlobalUserPreferences.translateButtonOpenedOnly, i->{
|
||||||
GlobalUserPreferences.translateButtonOpenedOnly=i.checked;
|
// GlobalUserPreferences.translateButtonOpenedOnly=i.checked;
|
||||||
GlobalUserPreferences.save();
|
// GlobalUserPreferences.save();
|
||||||
needAppRestart=true;
|
// needAppRestart=true;
|
||||||
}));
|
// }));
|
||||||
|
|
||||||
items.add(new HeaderItem(R.string.home_timeline));
|
items.add(new HeaderItem(R.string.home_timeline));
|
||||||
items.add(new SwitchItem(R.string.sk_settings_show_replies, R.drawable.ic_fluent_chat_multiple_24_regular, GlobalUserPreferences.showReplies, i->{
|
items.add(new SwitchItem(R.string.sk_settings_show_replies, R.drawable.ic_fluent_chat_multiple_24_regular, GlobalUserPreferences.showReplies, i->{
|
||||||
|
|
|
@ -87,8 +87,6 @@
|
||||||
<string name="sk_settings_hide_translate_in_timeline">Hide translate button in timeline</string>
|
<string name="sk_settings_hide_translate_in_timeline">Hide translate button in timeline</string>
|
||||||
<string name="sk_settings_translation_availability_note_available">%s supports translation!</string>
|
<string name="sk_settings_translation_availability_note_available">%s supports translation!</string>
|
||||||
<string name="sk_settings_translation_availability_note_unavailable">%s seems not to support translation.</string>
|
<string name="sk_settings_translation_availability_note_unavailable">%s seems not to support translation.</string>
|
||||||
<string name="sk_settings_translation_availability_note_available">%s supports translation!</string>
|
|
||||||
<string name="sk_settings_translation_availability_note_unavailable">%s does not appear to support translation.</string>
|
|
||||||
<string name="sk_loading_fediverse_resource_title">Looking it up on the Fediverse…</string>
|
<string name="sk_loading_fediverse_resource_title">Looking it up on the Fediverse…</string>
|
||||||
<string name="sk_undo_reblog">Undo reblog</string>
|
<string name="sk_undo_reblog">Undo reblog</string>
|
||||||
<string name="sk_reblog_with_visibility">Reblog with visibility</string>
|
<string name="sk_reblog_with_visibility">Reblog with visibility</string>
|
||||||
|
|
Loading…
Reference in New Issue