Bluesky app fork with some witchin' additions 💫

Fix android starting at notif screen (#8775)

* fix android launching at notif screen

* rm heuristic

authored by samuel.fm and committed by

GitHub 15bc7732 7b5d11eb

+5 -5
+5 -5
src/lib/hooks/useNotificationHandler.ts
··· 400 400 } 401 401 } 402 402 403 - export function notificationToURL( 404 - payload: NotificationPayload, 405 - ): string | undefined { 403 + export function notificationToURL(payload: NotificationPayload): string | null { 406 404 switch (payload?.reason) { 407 405 case 'like': 408 406 case 'repost': ··· 433 431 } 434 432 case 'chat-message': 435 433 // should be handled separately 436 - return undefined 434 + return null 437 435 case 'verified': 438 436 case 'unverified': 439 - default: 440 437 return '/notifications' 438 + default: 439 + // do nothing if we don't know what to do with it 440 + return null 441 441 } 442 442 }