Skip to content

Commit

Permalink
Merge pull request #53216 from Expensify/revert-53165-vit-53150
Browse files Browse the repository at this point in the history
[CP Staging] Fix Hybrid Android crash and bring the custom edge-to-edge module to hybridApp

(cherry picked from commit 64d591f)

(CP triggered by mountiny)
  • Loading branch information
mountiny authored and OSBotify committed Nov 27, 2024
1 parent 05161ca commit 7710c60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions src/libs/NavBarManager/index.android.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import {NativeModules} from 'react-native';
import Log from '@libs/Log';
import type StartupTimer from './types';
import type {NavBarButtonStyle} from './types';

const navBarManager: StartupTimer = {
setButtonStyle: (style: NavBarButtonStyle) => {
if (!NativeModules.RNNavBarManager) {
Log.hmmm('RNNavBarManager not found');
return;
}

NativeModules.RNNavBarManager.setButtonStyle(style);
},
};
Expand Down
4 changes: 0 additions & 4 deletions src/libs/Navigation/AppNavigator/AuthScreens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,6 @@ function AuthScreens({session, lastOpenedPublicRoomID, initialLastUpdateIDApplie
});

useEffect(() => {
if (!NavBarManager) {
Log.hmmm('RNNavBarManager not found in AuthScreens');
return;
}
NavBarManager.setButtonStyle(theme.navigationBarButtonsStyle);

return () => {
Expand Down

0 comments on commit 7710c60

Please sign in to comment.