this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove 'Move to top'

On second thought, this is not that important

+16 -39
-1
src/components/ICONS.jsx
··· 16 16 }, 17 17 'arrow-up': () => import('@iconify-icons/mingcute/arrow-up-line'), 18 18 'arrow-down': () => import('@iconify-icons/mingcute/arrow-down-line'), 19 - 'arrow-to-up-line': () => import('@iconify-icons/mingcute/arrow-to-up-line'), 20 19 earth: () => import('@iconify-icons/mingcute/earth-line'), 21 20 lock: () => import('@iconify-icons/mingcute/lock-line'), 22 21 unlock: () => import('@iconify-icons/mingcute/unlock-line'),
+16 -20
src/locales/en.po
··· 117 117 #: src/components/status.jsx:2598 118 118 #: src/components/status.jsx:2601 119 119 #: src/pages/account-statuses.jsx:526 120 - #: src/pages/accounts.jsx:114 120 + #: src/pages/accounts.jsx:113 121 121 #: src/pages/hashtag.jsx:202 122 122 #: src/pages/list.jsx:171 123 123 #: src/pages/public.jsx:116 ··· 469 469 #: src/components/status.jsx:3100 470 470 #: src/components/status.jsx:3340 471 471 #: src/components/status.jsx:3849 472 - #: src/pages/accounts.jsx:41 472 + #: src/pages/accounts.jsx:40 473 473 #: src/pages/catchup.jsx:1584 474 474 #: src/pages/filters.jsx:225 475 475 #: src/pages/list.jsx:302 ··· 1076 1076 1077 1077 #: src/components/generic-accounts.jsx:154 1078 1078 #: src/components/notification.jsx:449 1079 - #: src/pages/accounts.jsx:46 1079 + #: src/pages/accounts.jsx:45 1080 1080 #: src/pages/search.jsx:334 1081 1081 #: src/pages/search.jsx:367 1082 1082 msgid "Accounts" ··· 1983 1983 msgstr "" 1984 1984 1985 1985 #: src/components/shortcuts-settings.jsx:351 1986 - #: src/pages/accounts.jsx:201 1986 + #: src/pages/accounts.jsx:183 1987 1987 msgid "Move up" 1988 1988 msgstr "" 1989 1989 1990 1990 #: src/components/shortcuts-settings.jsx:367 1991 - #: src/pages/accounts.jsx:216 1991 + #: src/pages/accounts.jsx:198 1992 1992 msgid "Move down" 1993 1993 msgstr "" 1994 1994 ··· 2690 2690 msgid "Month" 2691 2691 msgstr "" 2692 2692 2693 - #: src/pages/accounts.jsx:60 2693 + #: src/pages/accounts.jsx:59 2694 2694 msgid "Current" 2695 2695 msgstr "" 2696 2696 2697 - #: src/pages/accounts.jsx:106 2697 + #: src/pages/accounts.jsx:105 2698 2698 msgid "Default" 2699 2699 msgstr "" 2700 2700 2701 - #: src/pages/accounts.jsx:128 2701 + #: src/pages/accounts.jsx:127 2702 2702 msgid "Switch to this account" 2703 2703 msgstr "Switch to this account" 2704 2704 2705 - #: src/pages/accounts.jsx:137 2705 + #: src/pages/accounts.jsx:136 2706 2706 msgid "Switch in new tab/window" 2707 2707 msgstr "Switch in new tab/window" 2708 2708 2709 - #: src/pages/accounts.jsx:151 2709 + #: src/pages/accounts.jsx:150 2710 2710 msgid "View profile…" 2711 2711 msgstr "" 2712 2712 2713 - #: src/pages/accounts.jsx:169 2713 + #: src/pages/accounts.jsx:168 2714 2714 msgid "Set as default" 2715 2715 msgstr "" 2716 2716 2717 - #: src/pages/accounts.jsx:185 2718 - msgid "Move to top" 2719 - msgstr "Move to top" 2720 - 2721 2717 #. placeholder {0}: account.info.acct 2722 - #: src/pages/accounts.jsx:228 2718 + #: src/pages/accounts.jsx:210 2723 2719 msgid "Log out <0>@{0}</0>?" 2724 2720 msgstr "" 2725 2721 2726 - #: src/pages/accounts.jsx:257 2722 + #: src/pages/accounts.jsx:239 2727 2723 msgid "Log out…" 2728 2724 msgstr "" 2729 2725 2730 2726 #. placeholder {0}: niceDateTime(account.createdAt) 2731 - #: src/pages/accounts.jsx:264 2727 + #: src/pages/accounts.jsx:246 2732 2728 msgid "Connected on {0} (<0/>)" 2733 2729 msgstr "Connected on {0} (<0/>)" 2734 2730 2735 - #: src/pages/accounts.jsx:281 2731 + #: src/pages/accounts.jsx:263 2736 2732 msgid "Add an existing account" 2737 2733 msgstr "" 2738 2734 2739 - #: src/pages/accounts.jsx:288 2735 + #: src/pages/accounts.jsx:270 2740 2736 msgid "Note: <0>Default</0> account will always be used for first load. Switched accounts will persist during the session." 2741 2737 msgstr "" 2742 2738
-18
src/pages/accounts.jsx
··· 29 29 const accounts = store.local.getJSON('accounts'); 30 30 const currentAccount = getCurrentAccountID(); 31 31 const moreThanOneAccount = accounts.length > 1; 32 - const moreThanThreeAccounts = accounts.length > 3; 33 32 34 33 const [_, reload] = useReducer((x) => x + 1, 0); 35 34 const [accountsListParent] = useAutoAnimate(); ··· 169 168 <Trans>Set as default</Trans> 170 169 </span> 171 170 </MenuItem> 172 - {moreThanThreeAccounts && ( 173 - <MenuItem 174 - disabled={i <= 2} 175 - onClick={() => { 176 - // Move account to position 1 (right below default) 177 - accounts.splice(i, 1); 178 - accounts.splice(1, 0, account); 179 - store.local.setJSON('accounts', accounts); 180 - reload(); 181 - }} 182 - > 183 - <Icon icon="arrow-to-up-line" /> 184 - <span> 185 - <Trans>Move to top</Trans> 186 - </span> 187 - </MenuItem> 188 - )} 189 171 <MenuItem 190 172 disabled={i <= 1} 191 173 onClick={() => {