Compare commits
No commits in common. "ca107356d1848a31785d07c91aad763a68ab15a3" and "5ad1e1d3f3dba957da7d4ce8dc3286cccd461ed3" have entirely different histories.
ca107356d1
...
5ad1e1d3f3
6 changed files with 102 additions and 123 deletions
12
package.json
12
package.json
|
|
@ -23,15 +23,15 @@
|
|||
"@react-native-community/async-storage": "^1.11.0",
|
||||
"@react-native-community/masked-view": "^0.1.10",
|
||||
"@react-native-community/push-notification-ios": "^1.3.0",
|
||||
"@react-native-community/slider": "^3.0.3",
|
||||
"@react-navigation/bottom-tabs": "^5.7.1",
|
||||
"@react-native-community/slider": "^3.0.0",
|
||||
"@react-navigation/bottom-tabs": "^5.7.0",
|
||||
"@react-navigation/native": "^5.7.0",
|
||||
"@react-navigation/stack": "^5.7.0",
|
||||
"i18n-js": "^3.7.1",
|
||||
"react": "16.13.1",
|
||||
"react-native": "0.63.1",
|
||||
"react-native": "0.63.0",
|
||||
"react-native-animatable": "^1.3.3",
|
||||
"react-native-app-intro-slider": "^4.0.4",
|
||||
"react-native-app-intro-slider": "^4.0.0",
|
||||
"react-native-appearance": "^0.3.4",
|
||||
"react-native-autolink": "^3.0.0",
|
||||
"react-native-calendars": "^1.300.0",
|
||||
|
|
@ -43,11 +43,11 @@
|
|||
"react-native-linear-gradient": "^2.5.6",
|
||||
"react-native-localize": "^1.4.0",
|
||||
"react-native-modalize": "^2.0.4",
|
||||
"react-native-paper": "^4.0.1",
|
||||
"react-native-paper": "^3.10.1",
|
||||
"react-native-permissions": "^2.1.5",
|
||||
"react-native-push-notification": "^4.0.0",
|
||||
"react-native-reanimated": "^1.9.0",
|
||||
"react-native-render-html": "^4.2.1",
|
||||
"react-native-render-html": "^4.2.0",
|
||||
"react-native-safe-area-context": "0.7.3",
|
||||
"react-native-screens": "^2.9.0",
|
||||
"react-native-splash-screen": "^3.2.0",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
import {Avatar, Card, Text, TouchableRipple, withTheme} from 'react-native-paper';
|
||||
import {StyleSheet, View} from "react-native";
|
||||
import {Avatar, Card, Text, withTheme} from 'react-native-paper';
|
||||
import {StyleSheet} from "react-native";
|
||||
import i18n from "i18n-js";
|
||||
import type {CustomTheme} from "../../managers/ThemeManager";
|
||||
|
||||
|
|
@ -47,11 +47,9 @@ class EventDashBoardItem extends React.Component<Props> {
|
|||
} else
|
||||
subtitle = i18n.t('screens.home.dashboard.todayEventsSubtitleNA');
|
||||
return (
|
||||
<Card style={styles.card}>
|
||||
<TouchableRipple
|
||||
style={{flex: 1}}
|
||||
<Card
|
||||
style={styles.card}
|
||||
onPress={props.clickAction}>
|
||||
<View>
|
||||
<Card.Title
|
||||
title={i18n.t('screens.home.dashboard.todayEventsTitle')}
|
||||
titleStyle={{color: textColor}}
|
||||
|
|
@ -67,8 +65,6 @@ class EventDashBoardItem extends React.Component<Props> {
|
|||
<Card.Content>
|
||||
{props.children}
|
||||
</Card.Content>
|
||||
</View>
|
||||
</TouchableRipple>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
import {Button, Card, Text, TouchableRipple} from 'react-native-paper';
|
||||
import {Button, Card, Text} from 'react-native-paper';
|
||||
import {Image, View} from "react-native";
|
||||
import Autolink from "react-native-autolink";
|
||||
import i18n from "i18n-js";
|
||||
|
|
@ -75,11 +75,8 @@ class FeedItem extends React.Component<Props> {
|
|||
margin: cardMargin,
|
||||
height: cardHeight,
|
||||
}}
|
||||
onPress={this.onPress}
|
||||
>
|
||||
<TouchableRipple
|
||||
style={{flex: 1}}
|
||||
onPress={this.onPress}>
|
||||
<View>
|
||||
<Card.Title
|
||||
title={this.props.title}
|
||||
subtitle={this.props.subtitle}
|
||||
|
|
@ -117,8 +114,6 @@ class FeedItem extends React.Component<Props> {
|
|||
{i18n.t('screens.home.dashboard.seeMore')}
|
||||
</Button>
|
||||
</Card.Actions>
|
||||
</View>
|
||||
</TouchableRipple>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
import {StyleSheet, View} from "react-native";
|
||||
import {StyleSheet} from "react-native";
|
||||
import i18n from "i18n-js";
|
||||
import {Avatar, Button, Card, TouchableRipple} from 'react-native-paper';
|
||||
import {Avatar, Button, Card} from 'react-native-paper';
|
||||
import {getFormattedEventTime, isDescriptionEmpty} from "../../utils/Planning";
|
||||
import CustomHTML from "../Overrides/CustomHTML";
|
||||
import type {CustomTheme} from "../../managers/ThemeManager";
|
||||
|
|
@ -36,12 +36,9 @@ class PreviewEventDashboardItem extends React.Component<Props> {
|
|||
return (
|
||||
<Card
|
||||
style={styles.card}
|
||||
onPress={props.clickAction}
|
||||
elevation={3}
|
||||
>
|
||||
<TouchableRipple
|
||||
style={{flex: 1}}
|
||||
onPress={props.clickAction}>
|
||||
<View>
|
||||
{hasImage ?
|
||||
<Card.Title
|
||||
title={event.title}
|
||||
|
|
@ -64,8 +61,6 @@ class PreviewEventDashboardItem extends React.Component<Props> {
|
|||
{i18n.t("screens.home.dashboard.seeMore")}
|
||||
</Button>
|
||||
</Card.Actions>
|
||||
</View>
|
||||
</TouchableRipple>
|
||||
</Card>
|
||||
);
|
||||
} else
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ class SmallDashboardItem extends React.Component<Props> {
|
|||
top: 0,
|
||||
right: 0,
|
||||
backgroundColor: props.theme.colors.primary,
|
||||
borderColor: props.theme.colors.background,
|
||||
borderWidth: 2,
|
||||
borderColor: "#fff",
|
||||
borderWidth: 1,
|
||||
}}>
|
||||
{props.badgeCount}
|
||||
</AnimatableBadge> : null
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
import {Caption, Card, Paragraph, TouchableRipple} from 'react-native-paper';
|
||||
import {View} from "react-native";
|
||||
import {Caption, Card, Paragraph} from 'react-native-paper';
|
||||
import type {cardItem} from "./CardList";
|
||||
|
||||
type Props = {
|
||||
|
|
@ -29,11 +28,8 @@ export default class CardListItem extends React.Component<Props> {
|
|||
marginLeft: 'auto',
|
||||
marginRight: 'auto',
|
||||
}}
|
||||
onPress={item.onPress}
|
||||
>
|
||||
<TouchableRipple
|
||||
style={{flex: 1}}
|
||||
onPress={item.onPress}>
|
||||
<View>
|
||||
<Card.Cover
|
||||
style={{height: 80}}
|
||||
source={source}
|
||||
|
|
@ -42,9 +38,6 @@ export default class CardListItem extends React.Component<Props> {
|
|||
<Paragraph>{item.title}</Paragraph>
|
||||
<Caption>{item.subtitle}</Caption>
|
||||
</Card.Content>
|
||||
</View>
|
||||
</TouchableRipple>
|
||||
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue