diff --git a/components/CustomMaterialIcon.js b/components/CustomMaterialIcon.js
index 7b99881..b3ca81f 100644
--- a/components/CustomMaterialIcon.js
+++ b/components/CustomMaterialIcon.js
@@ -9,7 +9,7 @@ type Props = {
icon: string,
color: ?string,
fontSize: number,
- width: number,
+ width: number|string,
}
/**
diff --git a/components/FetchedDataSectionList.js b/components/FetchedDataSectionList.js
index 776b28f..b1e4fed 100644
--- a/components/FetchedDataSectionList.js
+++ b/components/FetchedDataSectionList.js
@@ -2,10 +2,12 @@
import * as React from 'react';
import WebDataManager from "../utils/WebDataManager";
-import {Container, Tab, TabHeading, Tabs, Text} from "native-base";
+import {Container, H3, Tab, TabHeading, Tabs, Text} from "native-base";
import CustomHeader from "./CustomHeader";
import {RefreshControl, SectionList, View} from "react-native";
import CustomMaterialIcon from "./CustomMaterialIcon";
+import i18n from 'i18n-js';
+import ThemeManager from "../utils/ThemeManager";
type Props = {
navigation: Object,
@@ -69,6 +71,34 @@ export default class FetchedDataSectionList extends React.Component;
}
+ getEmptyRenderItem(text: string, icon: string) {
+ return (
+
+
+
+
+
+
+ {text}
+
+ );
+ }
+
/**
* Create the dataset to be used in the list from the data fetched
* @param fetchedData {Object}
@@ -78,11 +108,33 @@ export default class FetchedDataSectionList extends React.Component item.text,
+ }
+ ];
+ }
+
hasTabs() {
return false;
}
getSectionList(dataset: Array