Skip to content

Commit

Permalink
chore: added LegalView on MasterDetailStack
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak authored and diegolmello committed Dec 16, 2024
1 parent eafd632 commit ebbf283
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/stacks/MasterDetailStack/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import NewMessageView from '../../views/NewMessageView';
import CreateChannelView from '../../views/CreateChannelView';
import UserPreferencesView from '../../views/UserPreferencesView';
import UserNotificationPrefView from '../../views/UserNotificationPreferencesView';
import LegalView from '../../views/LegalView';
import SecurityPrivacyView from '../../views/SecurityPrivacyView';
import MediaAutoDownloadView from '../../views/MediaAutoDownloadView';
import E2EEncryptionSecurityView from '../../views/E2EEncryptionSecurityView';
Expand Down Expand Up @@ -168,6 +169,8 @@ const ModalStackNavigator = React.memo(({ navigation }: INavigation) => {
options={props => ReadReceiptsView.navigationOptions!({ ...props, isMasterDetail: true })}
/>
<ModalStack.Screen name='SettingsView' component={SettingsView} />
{/* @ts-ignore */}
<ModalStack.Screen name='LegalView' component={LegalView} />
<ModalStack.Screen name='LanguageView' component={LanguageView} />
<ModalStack.Screen name='ThemeView' component={ThemeView} />
<ModalStack.Screen name='DefaultBrowserView' component={DefaultBrowserView} />
Expand Down
1 change: 1 addition & 0 deletions app/stacks/MasterDetailStack/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export type ModalStackParamList = {
MediaAutoDownloadView: undefined;
E2EEncryptionSecurityView: undefined;
PushTroubleshootView: undefined;
LegalView: undefined;
SupportedVersionsWarning: {
showCloseButton?: boolean;
};
Expand Down

0 comments on commit ebbf283

Please sign in to comment.