parent
a5511e3c22
commit
997e621ce3
|
@ -123,6 +123,7 @@ let ConvoMenu = ({
|
||||||
<Menu.ItemIcon icon={convo?.muted ? Unmute : Mute} />
|
<Menu.ItemIcon icon={convo?.muted ? Unmute : Mute} />
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu.Group>
|
</Menu.Group>
|
||||||
|
<Menu.Divider />
|
||||||
{/* TODO(samuel): implement these */}
|
{/* TODO(samuel): implement these */}
|
||||||
<Menu.Group>
|
<Menu.Group>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
|
@ -146,6 +147,7 @@ let ConvoMenu = ({
|
||||||
<Menu.ItemIcon icon={Flag} />
|
<Menu.ItemIcon icon={Flag} />
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
</Menu.Group>
|
</Menu.Group>
|
||||||
|
<Menu.Divider />
|
||||||
<Menu.Group>
|
<Menu.Group>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
label={_(msg`Leave conversation`)}
|
label={_(msg`Leave conversation`)}
|
||||||
|
|
|
@ -125,9 +125,11 @@ let Header = ({
|
||||||
) : (
|
) : (
|
||||||
<View style={{width: 30}} />
|
<View style={{width: 30}} />
|
||||||
)}
|
)}
|
||||||
<View style={[a.align_center, a.gap_sm]}>
|
<View style={[a.align_center, a.gap_sm, a.flex_1]}>
|
||||||
<PreviewableUserAvatar size={32} profile={profile} />
|
<PreviewableUserAvatar size={32} profile={profile} />
|
||||||
<Text style={[a.text_lg, a.font_bold]}>{profile.displayName}</Text>
|
<Text style={[a.text_lg, a.font_bold, a.text_center]}>
|
||||||
|
{profile.displayName}
|
||||||
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
{chat.status === ConvoStatus.Ready ? (
|
{chat.status === ConvoStatus.Ready ? (
|
||||||
<ConvoMenu
|
<ConvoMenu
|
||||||
|
|
Loading…
Reference in New Issue