Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3743921
D7194.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7194.diff
View Options
diff --git a/web/settings/account-settings.css b/web/settings/account-settings.css
--- a/web/settings/account-settings.css
+++ b/web/settings/account-settings.css
@@ -10,6 +10,10 @@
padding-bottom: 55px;
}
+.content {
+ margin-top: 32px;
+}
+
.content ul {
list-style-type: none;
}
diff --git a/web/settings/account-settings.react.js b/web/settings/account-settings.react.js
--- a/web/settings/account-settings.react.js
+++ b/web/settings/account-settings.react.js
@@ -18,6 +18,7 @@
import BlockListModal from './relationship/block-list-modal.react.js';
import FriendListModal from './relationship/friend-list-modal.react.js';
import Button from '../components/button.react.js';
+import UserAvatar from '../components/user-avatar.react.js';
import { useSelector } from '../redux/redux-utils.js';
function AccountSettings(): React.Node {
@@ -55,6 +56,7 @@
const currentUserInfo = useSelector(state => state.currentUserInfo);
const stringForUser = useStringForUser(currentUserInfo);
+
if (!currentUserInfo || currentUserInfo.anonymous) {
return null;
}
@@ -77,6 +79,7 @@
return (
<div className={css.container}>
<h4 className={css.header}>My Account</h4>
+ <UserAvatar size="profile" userID={currentUserInfo.id} />
<div className={css.content}>
<ul>
<li>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 2:36 PM (15 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2851448
Default Alt Text
D7194.diff (1 KB)
Attached To
Mode
D7194: [web] render user avatar in account screen
Attached
Detach File
Event Timeline
Log In to Comment