diff --git a/src/screens/Services/ServicesScreen.js b/src/screens/Services/ServicesScreen.js index a06b147..838aea8 100644 --- a/src/screens/Services/ServicesScreen.js +++ b/src/screens/Services/ServicesScreen.js @@ -45,68 +45,68 @@ class ServicesScreen extends React.Component { super(props); const nav = props.navigation; this.studentsDataset = [ - { - title: "proximo", - subtitle: "proximo", - image: PROXIMO_IMAGE, - onPress: () => nav.navigate("proximo"), - }, - { - title: "AMICALE", - subtitle: "AMICALE", - image: AMICALE_IMAGE, - onPress: () => nav.navigate("amicale-website"), - }, - { - title: "wiketud", - subtitle: "wiketud", - image: WIKETUD_LINK, - onPress: () => nav.navigate("wiketud"), - }, - { - title: "ELUS ETUDIANTS", - subtitle: "ELUS ETUDIANTS", - image: EE_IMAGE, - onPress: () => nav.navigate("elus-etudiants"), - }, - { - title: "TUTOR INSA", - subtitle: "TUTOR INSA", - image: TUTORINSA_IMAGE, - onPress: () => nav.navigate("tutorinsa"), - }, + { + title: "proximo", + subtitle: "proximo", + image: PROXIMO_IMAGE, + onPress: () => nav.navigate("proximo"), + }, + { + title: "AMICALE", + subtitle: "AMICALE", + image: AMICALE_IMAGE, + onPress: () => nav.navigate("amicale-website"), + }, + { + title: "wiketud", + subtitle: "wiketud", + image: WIKETUD_LINK, + onPress: () => nav.navigate("wiketud"), + }, + { + title: "ELUS ETUDIANTS", + subtitle: "ELUS ETUDIANTS", + image: EE_IMAGE, + onPress: () => nav.navigate("elus-etudiants"), + }, + { + title: "TUTOR INSA", + subtitle: "TUTOR INSA", + image: TUTORINSA_IMAGE, + onPress: () => nav.navigate("tutorinsa"), + }, ]; this.insaDataset = [ - { - title: "RU", - subtitle: "the ru", - image: RU_IMAGE, - onPress: () => nav.navigate("self-menu"), - }, - { - title: "AVAILABLE ROOMS", - subtitle: "ROOMS", - image: ROOM_IMAGE, - onPress: () => nav.navigate("available-rooms"), - }, - { - title: "BIB", - subtitle: "BIB", - image: BIB_IMAGE, - onPress: () => nav.navigate("bib"), - }, - { - title: "EMAIL", - subtitle: "EMAIL", - image: EMAIL_IMAGE, - onPress: () => nav.navigate("bluemind"), - }, - { - title: "ENT", - subtitle: "ENT", - image: ENT_IMAGE, - onPress: () => nav.navigate("ent"), - }, + { + title: "RU", + subtitle: "the ru", + image: RU_IMAGE, + onPress: () => nav.navigate("self-menu"), + }, + { + title: "AVAILABLE ROOMS", + subtitle: "ROOMS", + image: ROOM_IMAGE, + onPress: () => nav.navigate("available-rooms"), + }, + { + title: "BIB", + subtitle: "BIB", + image: BIB_IMAGE, + onPress: () => nav.navigate("bib"), + }, + { + title: "EMAIL", + subtitle: "EMAIL", + image: EMAIL_IMAGE, + onPress: () => nav.navigate("bluemind"), + }, + { + title: "ENT", + subtitle: "ENT", + image: ENT_IMAGE, + onPress: () => nav.navigate("ent"), + }, ]; this.finalDataset = [ { @@ -141,15 +141,15 @@ class ServicesScreen extends React.Component { getAvatar(props, source: string | number) { if (typeof source === "number") - return + return else - return + return } - renderItem = ({item} : {item: listItem}) => { + renderItem = ({item}: { item: listItem }) => { return ( { title={item.title} subtitle={item.description} left={(props) => this.getAvatar(props, item.image)} - right={(props) => } + right={(props) => } />