deer social fork for personal usage. but you might see a use idk. github mirror
4
fork

Configure Feed

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

holy shit the dogshit home button behaviour was load bearing

ayla 5dc63307 e6b25ee3

+4 -4
+1 -1
src/components/Link.tsx
··· 197 197 navigation.dispatch(StackActions.replace(screen, params)) 198 198 } else if (action === 'navigate') { 199 199 // @ts-expect-error not typed 200 - navigation.navigate(screen, params, {pop: isNative}) 200 + navigation.navigate(screen, params, {pop: true}) 201 201 } else { 202 202 throw Error('Unsupported navigator action.') 203 203 }
+2 -2
src/view/com/util/Link.tsx
··· 25 25 linkRequiresWarning, 26 26 } from '#/lib/strings/url-helpers' 27 27 import {type TypographyVariant} from '#/lib/ThemeContext' 28 - import {isAndroid, isNative, isWeb} from '#/platform/detection' 28 + import {isAndroid, isWeb} from '#/platform/detection' 29 29 import {emitSoftReset} from '#/state/events' 30 30 import {useModalControls} from '#/state/modals' 31 31 import {WebAuxClickWrapper} from '#/view/com/util/WebAuxClickWrapper' ··· 427 427 // note: 'navigate' actually acts the same as 'push' nowadays 428 428 // therefore we need to add 'pop' -sfn 429 429 // @ts-ignore we're not able to type check on this one -prf 430 - navigation.navigate(routeName, params, {pop: isNative}) 430 + navigation.navigate(routeName, params, {pop: true}) 431 431 } 432 432 } else { 433 433 throw Error('Unsupported navigator action.')
+1 -1
src/view/shell/desktop/LeftNav.tsx
··· 405 405 } else { 406 406 const [screen, params] = router.matchPath(href) 407 407 // @ts-expect-error TODO: type matchPath well enough that it can be plugged into navigation.navigate directly 408 - navigation.navigate(screen, params) 408 + navigation.navigate(screen, params, {pop: true}) 409 409 } 410 410 }, 411 411 [navigation, href, isCurrent],