this repo has no description
0
fork

Configure Feed

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

More descriptive toasts copy

+30 -6
+30 -6
src/components/status.jsx
··· 579 579 try { 580 580 const done = await confirmBoostStatus(); 581 581 if (!isSizeLarge && done) { 582 - showToast(reblogged ? 'Unboosted' : 'Boosted'); 582 + showToast( 583 + reblogged 584 + ? `Unboosted @${username || acct}'s post` 585 + : `Boosted @${username || acct}'s post`, 586 + ); 583 587 } 584 588 } catch (e) {} 585 589 }} ··· 597 601 try { 598 602 favouriteStatus(); 599 603 if (!isSizeLarge) { 600 - showToast(favourited ? 'Unfavourited' : 'Favourited'); 604 + showToast( 605 + favourited 606 + ? `Unfavourited @${username || acct}'s post` 607 + : `Favourited @${username || acct}'s post`, 608 + ); 601 609 } 602 610 } catch (e) {} 603 611 }} ··· 621 629 try { 622 630 bookmarkStatus(); 623 631 if (!isSizeLarge) { 624 - showToast(bookmarked ? 'Unbookmarked' : 'Bookmarked'); 632 + showToast( 633 + bookmarked 634 + ? `Unbookmarked @${username || acct}'s post` 635 + : `Bookmarked @${username || acct}'s post`, 636 + ); 625 637 } 626 638 } catch (e) {} 627 639 }} ··· 829 841 try { 830 842 favouriteStatus(); 831 843 if (!isSizeLarge) { 832 - showToast(favourited ? 'Unfavourited' : 'Favourited'); 844 + showToast( 845 + favourited 846 + ? `Unfavourited @${username || acct}'s post` 847 + : `Favourited @${username || acct}'s post`, 848 + ); 833 849 } 834 850 } catch (e) {} 835 851 }, ··· 843 859 try { 844 860 bookmarkStatus(); 845 861 if (!isSizeLarge) { 846 - showToast(bookmarked ? 'Unbookmarked' : 'Bookmarked'); 862 + showToast( 863 + bookmarked 864 + ? `Unbookmarked @${username || acct}'s post` 865 + : `Bookmarked @${username || acct}'s post`, 866 + ); 847 867 } 848 868 } catch (e) {} 849 869 }, ··· 858 878 try { 859 879 const done = await confirmBoostStatus(); 860 880 if (!isSizeLarge && done) { 861 - showToast(reblogged ? 'Unboosted' : 'Boosted'); 881 + showToast( 882 + reblogged 883 + ? `Unboosted @${username || acct}'s post` 884 + : `Boosted @${username || acct}'s post`, 885 + ); 862 886 } 863 887 } catch (e) {} 864 888 })();