From f3fa9c39c7dd5fd2b8b1ae19256cc13a580f6361 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 12 Dec 2018 11:02:56 +0300 Subject: Settings styling --- vnext/src/components/Settings.js | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'vnext/src/components') diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js index 06550194..bf42180a 100644 --- a/vnext/src/components/Settings.js +++ b/vnext/src/components/Settings.js @@ -7,6 +7,7 @@ import { me } from '../api'; import { UserType } from './Types'; import Button from './Button'; +import Icon from './Icon'; export default class Settings extends React.Component { constructor(props) { @@ -69,9 +70,8 @@ export default class Settings extends React.Component { const { me } = this.state; return (
-

Settings

- Changing your avatar + Changing your avatar

Avatar:
Recommendations: PNG, 96x96, <50Kb. Also, JPG and GIF supported.

@@ -81,7 +81,7 @@ export default class Settings extends React.Component {
- Changing your password + Changing your password

Change password:
@@ -89,7 +89,7 @@ export default class Settings extends React.Component {

- Telegram + Telegram {me.telegramName ? (
Telegram: {me.telegramName} — @@ -104,10 +104,7 @@ export default class Settings extends React.Component { {me.jids && (
- XMPP accounts + XMPP accounts

Your accounts:

@@ -129,11 +126,7 @@ export default class Settings extends React.Component {

)}
- E-mail + E-mail

Add account:
@@ -183,12 +176,7 @@ export default class Settings extends React.Component { }

- - Facebook - + Facebook {me.facebookStatus && me.facebookStatus.connected ? ( me.facebookStatus.crosspostEnabled ? @@ -213,11 +201,7 @@ export default class Settings extends React.Component { )}
- - Twitter + Twitter {me.twitterName ?
Twitter: {me.twitterName} — -- cgit v1.2.3