this repo has no description
0
fork

Configure Feed

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

Make toast stay longer, due to longer text

+8 -5
+8 -5
src/pages/catchup.jsx
··· 493 493 const groupByText = { 494 494 account: 'authors', 495 495 }; 496 - let toast = showToast( 497 - `Showing ${filterCategoryText[selectedFilterCategory] || 'all posts'}${ 498 - authorUsername ? ` by @${authorUsername}` : '' 499 - }, ${sortByText[sortBy][sortOrderIndex]} first${ 496 + let toast = showToast({ 497 + duration: 5_000, // 5 seconds 498 + text: `Showing ${ 499 + filterCategoryText[selectedFilterCategory] || 'all posts' 500 + }${authorUsername ? ` by @${authorUsername}` : ''}, ${ 501 + sortByText[sortBy][sortOrderIndex] 502 + } first${ 500 503 !!groupBy 501 504 ? `, grouped by ${groupBy === 'account' ? groupByText[groupBy] : ''}` 502 505 : '' 503 506 }`, 504 - ); 507 + }); 505 508 return () => { 506 509 toast?.hideToast?.(); 507 510 };