mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Tweaks to conversation details
This commit is contained in:
+5
-2
@@ -27,7 +27,10 @@ const createConversation = (): ConversationType =>
|
||||
type: 'group',
|
||||
lastUpdated: 0,
|
||||
title: text('conversation title', 'Some Conversation'),
|
||||
groupDescription: text('description', 'This is a group description'),
|
||||
groupDescription: text(
|
||||
'description',
|
||||
'This is a group description. https://www.signal.org'
|
||||
),
|
||||
});
|
||||
|
||||
const createProps = (overrideProps: Partial<Props> = {}): Props => ({
|
||||
@@ -36,7 +39,7 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
|
||||
canEdit: false,
|
||||
startEditing: action('startEditing'),
|
||||
memberships: new Array(number('conversation members length', 0)),
|
||||
isGroup: false,
|
||||
isGroup: true,
|
||||
isMe: false,
|
||||
...overrideProps,
|
||||
});
|
||||
|
||||
@@ -57,7 +57,6 @@ export const ConversationDetailsMediaList: React.ComponentType<Props> = ({
|
||||
{i18n('ConversationDetailsMediaList--show-all')}
|
||||
</button>
|
||||
}
|
||||
borderless
|
||||
title={i18n('ConversationDetailsMediaList--shared-media')}
|
||||
>
|
||||
<div className={bem('root')}>
|
||||
|
||||
Reference in New Issue
Block a user