diff --git a/screens/SelfMenuScreen.js b/screens/SelfMenuScreen.js index 3e9257c..76bb27b 100644 --- a/screens/SelfMenuScreen.js +++ b/screens/SelfMenuScreen.js @@ -156,7 +156,7 @@ export default class SelfMenuScreen extends FetchedDataSectionList { {object.name.toLowerCase()} + }}>{this.formatName(object.name)} : } )} @@ -164,5 +164,9 @@ export default class SelfMenuScreen extends FetchedDataSectionList { ); } + formatName(name: String) { + return name.charAt(0) + name.substr(1).toLowerCase(); + } + }