diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 337384b118..45f42fea54 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -482,6 +482,11 @@ module.exports = React.createClass({ ; }, + nameForMedium: function(medium) { + if (medium == 'msisdn') return 'Phone'; + return medium[0].toUpperCase() + medium.slice(1); + }, + render: function() { var self = this; var Loader = sdk.getComponent("elements.Spinner"); @@ -512,7 +517,7 @@ module.exports = React.createClass({ return (
- +