Bluesky app fork with some witchin' additions 💫

vs code did some weird auto formatting n that sketches me out

daniela.lol 62afa526 9450e32d

verified
+10 -8
+4 -2
src/lib/hooks/useTranslate.ts
··· 17 17 18 18 // if ur curious why this isnt a switch case, good question, for some reason making this a switch case breaks the functionality 19 19 // it is a mystery https://www.youtube.com/watch?v=fq3abPnEEGE 20 - if (translationServicePreference == 'kagi') 20 + if (translationServicePreference == 'kagi') { 21 21 translateUrl = getTranslatorLinkKagi(text, language) 22 - else translateUrl = getTranslatorLink(text, language) 22 + } else { 23 + translateUrl = getTranslatorLink(text, language) 24 + } 23 25 24 26 if (IS_ANDROID && translationServicePreference == 'google') { 25 27 try {
+6 -6
src/screens/PostThread/components/ThreadItemAnchor.tsx
··· 622 622 // overridden to open an intent on android, but keep 623 623 // as anchor tag for accessibility 624 624 to={ 625 + // in case u want to expand this to allow other services to be u would do this after the kagi one 626 + // : translationServicePreference === "insert service name" 627 + // ? getTranslatorLink(post.record.text, langPrefs.primaryLanguage, "insert service name") 628 + // atm i cant really think of another service that lets u easily do this so its only kagi for now 629 + // the default itll use if its not any of the checks is google!! 625 630 translationServicePreference === 'kagi' 626 631 ? getTranslatorLinkKagi( 627 632 post.record.text, 628 633 langPrefs.primaryLanguage, 629 634 ) 630 - : // in case u want to expand this to allow other services to be u would do this 631 - // : translationServicePreference === "insert service name" 632 - // ? getTranslatorLink(post.record.text, langPrefs.primaryLanguage, "insert service name") 633 - // atm i cant really think of another service that lets u easily do this so its only kagi for now 634 - // the default itll use if its not any of the checks is google!! 635 - getTranslatorLink( 635 + : getTranslatorLink( 636 636 post.record.text, 637 637 langPrefs.primaryLanguage, 638 638 )