diff --git a/src/plugins/betterActivities/index.tsx b/src/plugins/betterActivities/index.tsx index 1bba5426f..2cf06a44a 100644 --- a/src/plugins/betterActivities/index.tsx +++ b/src/plugins/betterActivities/index.tsx @@ -39,6 +39,38 @@ const settings = definePluginSettings({ default: true, restartNeeded: true, }, + iconSize: { + type: OptionType.SLIDER, + description: "Size of the activity icons", + markers: [10, 15, 20], + default: 15, + stickToMarkers: false, + }, + specialFirst: { + type: OptionType.BOOLEAN, + description: "Show special activities first (Currently Spotify and Twitch)", + default: true, + restartNeeded: false, + }, + renderGifs: { + type: OptionType.BOOLEAN, + description: "Allow rendering GIFs", + default: true, + restartNeeded: false, + }, + divider: { + type: OptionType.COMPONENT, + description: "", + component: () => ( +
+ ), + }, profileSidebar: { type: OptionType.BOOLEAN, description: "Show all activities in the profile sidebar", @@ -51,19 +83,6 @@ const settings = definePluginSettings({ default: true, restartNeeded: true, }, - iconSize: { - type: OptionType.SLIDER, - description: "Size of the activity icons", - markers: [10, 15, 20], - default: 15, - stickToMarkers: false, - }, - renderGifs: { - type: OptionType.BOOLEAN, - description: "Allow rendering GIFs", - default: true, - restartNeeded: false, - }, allActivitiesStyle: { type: OptionType.SELECT, description: "Style for showing all activities", @@ -292,21 +311,6 @@ export default definePlugin({ patchActivityList: ({ activities, user }: { activities: Activity[], user: User; }): JSX.Element | null => { const icons: ActivityListIcon[] = []; - const spotifyActivity = activities.find(({ name }) => name === "Spotify"); - if (spotifyActivity) { - icons.push({ - iconElement: