@@ -3359,6 +3359,10 @@ function toggleEmojiReaction(
33593359 addEmojiReaction ( originalReportID , reportAction . reportActionID , emoji , skinTone ) ;
33603360}
33613361
3362+ function doneCheckingPublicRoom ( ) {
3363+ Onyx . set ( ONYXKEYS . IS_CHECKING_PUBLIC_ROOM , false ) ;
3364+ }
3365+
33623366function openReportFromDeepLink ( url : string ) {
33633367 const reportID = getReportIDFromLink ( url ) ;
33643368 const isAuthenticated = hasAuthToken ( ) ;
@@ -3369,11 +3373,11 @@ function openReportFromDeepLink(url: string) {
33693373
33703374 // Show the sign-in page if the app is offline
33713375 if ( networkStatus === CONST . NETWORK . NETWORK_STATUS . OFFLINE ) {
3372- Onyx . set ( ONYXKEYS . IS_CHECKING_PUBLIC_ROOM , false ) ;
3376+ doneCheckingPublicRoom ( ) ;
33733377 }
33743378 } else {
33753379 // If we're not opening a public room (no reportID) or the user is authenticated, we unblock the UI (hide splash screen)
3376- Onyx . set ( ONYXKEYS . IS_CHECKING_PUBLIC_ROOM , false ) ;
3380+ doneCheckingPublicRoom ( ) ;
33773381 }
33783382
33793383 let route = getRouteFromLink ( url ) ;
@@ -5777,6 +5781,7 @@ export {
57775781 deleteReportComment ,
57785782 deleteReportField ,
57795783 dismissTrackExpenseActionableWhisper ,
5784+ doneCheckingPublicRoom ,
57805785 downloadReportPDF ,
57815786 editReportComment ,
57825787 expandURLPreview ,
0 commit comments