diff --git a/app/soapbox/components/sidebar_menu.js b/app/soapbox/components/sidebar_menu.js index ea4e2ef94..ad6b2b022 100644 --- a/app/soapbox/components/sidebar_menu.js +++ b/app/soapbox/components/sidebar_menu.js @@ -255,7 +255,7 @@ class SidebarMenu extends ImmutablePureComponent { {intl.formatMessage(messages.bookmarks)} } {features.profileDirectory && - + {intl.formatMessage(messages.profileDirectory)} } diff --git a/app/soapbox/features/edit_profile/index.js b/app/soapbox/features/edit_profile/index.js index a0154b3ba..64f99a000 100644 --- a/app/soapbox/features/edit_profile/index.js +++ b/app/soapbox/features/edit_profile/index.js @@ -103,6 +103,7 @@ class EditProfile extends ImmutablePureComponent { const strangerNotifications = account.getIn(['pleroma', 'notification_settings', 'block_from_strangers']); const acceptsEmailList = account.getIn(['pleroma', 'accepts_email_list']); + const discoverable = account.getIn(['source', 'pleroma', 'discoverable']); const initialState = account.withMutations(map => { map.merge(map.get('source')); @@ -111,6 +112,7 @@ class EditProfile extends ImmutablePureComponent { map.set('stranger_notifications', strangerNotifications); map.set('accepts_email_list', acceptsEmailList); map.set('hide_network', hidesNetwork(account)); + map.set('discoverable', discoverable); unescapeParams(map, ['display_name', 'bio']); }); @@ -309,6 +311,13 @@ class EditProfile extends ImmutablePureComponent { checked={this.state.stranger_notifications} onChange={this.handleCheckboxChange} /> + } + hint={} + name='discoverable' + checked={this.state.discoverable} + onChange={this.handleCheckboxChange} + /> {supportsEmailList && } hint={} diff --git a/app/styles/components/directory.scss b/app/styles/components/directory.scss index 4749eef99..80fe759cb 100644 --- a/app/styles/components/directory.scss +++ b/app/styles/components/directory.scss @@ -104,7 +104,7 @@ text-overflow: ellipsis; } - span { + span:not(.verified-icon) { display: block; font-size: 14px; color: var(--primary-text-color--faint);