feat(settings): move reblog notificaiton to notification page
This commit is contained in:
parent
197110cfaf
commit
e8290e2f78
|
@ -49,10 +49,6 @@ public class BehaviourFragment extends SettingsBaseFragment{
|
||||||
GlobalUserPreferences.confirmBeforeReblog=i.checked;
|
GlobalUserPreferences.confirmBeforeReblog=i.checked;
|
||||||
GlobalUserPreferences.save();
|
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 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-> {
|
items.add(new ButtonItem(R.string.sk_settings_publish_button_text, R.drawable.ic_fluent_send_24_regular, b-> {
|
||||||
|
|
|
@ -37,6 +37,11 @@ public class NotificationsFragment extends SettingsBaseFragment {
|
||||||
GlobalUserPreferences.uniformNotificationIcon = i.checked;
|
GlobalUserPreferences.uniformNotificationIcon = i.checked;
|
||||||
GlobalUserPreferences.save();
|
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();
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue