|
@@ -7,7 +7,7 @@ import DashboardItem from "../../components/Home/EventDashboardItem";
|
7
|
7
|
import WebSectionList from "../../components/Screens/WebSectionList";
|
8
|
8
|
import {withTheme} from 'react-native-paper';
|
9
|
9
|
import FeedItem from "../../components/Home/FeedItem";
|
10
|
|
-import SquareDashboardItem from "../../components/Home/SmallDashboardItem";
|
|
10
|
+import SmallDashboardItem from "../../components/Home/SmallDashboardItem";
|
11
|
11
|
import PreviewEventDashboardItem from "../../components/Home/PreviewEventDashboardItem";
|
12
|
12
|
import {stringToDate} from "../../utils/Planning";
|
13
|
13
|
import ActionsDashBoardItem from "../../components/Home/ActionsDashboardItem";
|
|
@@ -434,7 +434,7 @@ class HomeScreen extends React.Component<Props, State> {
|
434
|
434
|
*/
|
435
|
435
|
dashboardRowRenderItem = ({item}: { item: DashboardItem }) => {
|
436
|
436
|
return (
|
437
|
|
- <SquareDashboardItem
|
|
437
|
+ <SmallDashboardItem
|
438
|
438
|
image={item.image}
|
439
|
439
|
onPress={item.onPress}
|
440
|
440
|
badgeCount={this.currentDashboard != null && item.badgeFunction != null
|
|
@@ -460,7 +460,8 @@ class HomeScreen extends React.Component<Props, State> {
|
460
|
460
|
contentContainerStyle={{
|
461
|
461
|
marginLeft: 'auto',
|
462
|
462
|
marginRight: 'auto',
|
463
|
|
- marginTop: 5,
|
|
463
|
+ marginTop: 10,
|
|
464
|
+ marginBottom: 10,
|
464
|
465
|
}}
|
465
|
466
|
/>);
|
466
|
467
|
}
|