Skip to content

Commit

Permalink
Revert "[native] community joiner modal"
Browse files Browse the repository at this point in the history
This reverts commit 8d9060f.
  • Loading branch information
vdhanan committed Feb 12, 2025
1 parent 3fe14f5 commit 8c2b299
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 435 deletions.
57 changes: 0 additions & 57 deletions lib/facts/communities.js

This file was deleted.

228 changes: 0 additions & 228 deletions native/components/community-joiner-modal.react.js

This file was deleted.

11 changes: 3 additions & 8 deletions native/components/modal.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ import { SafeAreaView } from 'react-native-safe-area-context';
import KeyboardAvoidingView from './keyboard-avoiding-view.react.js';
import { useStyles } from '../themes/colors.js';
import type { ViewStyle } from '../types/styles.js';
import {
modalBorderWidth,
modalMarginHorizontal,
modalPadding,
} from '../utils/modal-consts.js';

type Props = $ReadOnly<{
+children: React.Node,
Expand Down Expand Up @@ -58,14 +53,14 @@ const unboundStyles = {
modal: {
backgroundColor: 'modalBackground',
borderColor: 'modalForegroundBorder',
borderWidth: modalBorderWidth,
borderWidth: 2,
borderRadius: 5,
flex: 1,
justifyContent: 'center',
marginBottom: 30,
marginHorizontal: modalMarginHorizontal,
marginHorizontal: 15,
marginTop: 100,
padding: modalPadding,
padding: 12,
},
};

Expand Down
Loading

0 comments on commit 8c2b299

Please sign in to comment.