feat(settings): move reblog notificaiton to notification page

This commit is contained in:
FineFindus 2023-05-19 21:32:53 +02:00
parent 197110cfaf
commit e8290e2f78
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
2 changed files with 5 additions and 4 deletions

View File

@ -49,10 +49,6 @@ public class BehaviourFragment extends SettingsBaseFragment{
GlobalUserPreferences.confirmBeforeReblog=i.checked;
GlobalUserPreferences.save();
}));
items.add(new SwitchItem(R.string.mo_swap_bookmark_with_reblog, R.drawable.ic_boost, GlobalUserPreferences.swapBookmarkWithBoostAction, i -> {
GlobalUserPreferences.swapBookmarkWithBoostAction=i.checked;
GlobalUserPreferences.save();
}));
items.add(new HeaderItem(R.string.mo_composer_behavior));
items.add(new ButtonItem(R.string.sk_settings_publish_button_text, R.drawable.ic_fluent_send_24_regular, b-> {

View File

@ -37,6 +37,11 @@ public class NotificationsFragment extends SettingsBaseFragment {
GlobalUserPreferences.uniformNotificationIcon = i.checked;
GlobalUserPreferences.save();
}));
items.add(new SwitchItem(R.string.mo_swap_bookmark_with_reblog, R.drawable.ic_boost, GlobalUserPreferences.swapBookmarkWithBoostAction, i -> {
GlobalUserPreferences.swapBookmarkWithBoostAction=i.checked;
GlobalUserPreferences.save();
}));
}
}