Browse Source

Remove category selection text

keplyx 4 years ago
parent
commit
cecf4154f6
3 changed files with 1 additions and 7 deletions
  1. 1
    5
      screens/Proximo/ProximoMainScreen.js
  2. 0
    1
      translations/en.json
  3. 0
    1
      translations/fr.json

+ 1
- 5
screens/Proximo/ProximoMainScreen.js View File

@@ -37,7 +37,7 @@ export default class ProximoMainScreen extends FetchedDataSectionList {
37 37
     createDataset(fetchedData: Object) {
38 38
         return [
39 39
             {
40
-                title: i18n.t('proximoScreen.listTitle'),
40
+                title: '',
41 41
                 data: ProximoMainScreen.generateData(fetchedData),
42 42
                 extraData: super.state,
43 43
                 keyExtractor: this.getKeyExtractor
@@ -118,9 +118,5 @@ export default class ProximoMainScreen extends FetchedDataSectionList {
118 118
         }
119 119
 
120 120
     }
121
-
122
-    getRenderSectionHeader(title: String) {
123
-        return <H2 style={{textAlign: 'center', paddingVertical: 10}}>{title}</H2>;
124
-    }
125 121
 }
126 122
 

+ 0
- 1
translations/en.json View File

@@ -89,7 +89,6 @@
89 89
     "listUpdated": "Article list updated!",
90 90
     "listUpdateFail": "Error while updating article list",
91 91
     "loading": "Loading...",
92
-    "listTitle": "Choose a category",
93 92
     "inStock": "in stock",
94 93
     "description": "The Proximo is your small grocery store maintained by students directly on the campus. Open every day from 18h30 to 19h30, we welcome you when you are short on pastas or sodas ! Different products for different problems, everything at cost price. You can pay by Lydia or cash.",
95 94
     "openingHours": "Openning Hours",

+ 0
- 1
translations/fr.json View File

@@ -89,7 +89,6 @@
89 89
     "listUpdated": "Liste d'articles mise à jour !",
90 90
     "listUpdateFail": "Erreur lors de la mise à jour de la list d'articles",
91 91
     "loading": "Chargement...",
92
-    "listTitle": "Choisissez une catégorie",
93 92
     "inStock": "en stock",
94 93
     "description": "Le Proximo c’est ta petite épicerie étudiante tenu par les étudiants directement sur le campus. Ouvert tous les jours de 18h30 à 19h30, nous t’accueillons et te souvent quand tu n’as plus de pâtes ou de diluant ! Différents produits pour différentes galère, le tout à prix coûtant. Tu peux payer par Lydia ou par espèce.",
95 94
     "openingHours": "Horaires d'ouverture",

Loading…
Cancel
Save