Skip to content

Commit

Permalink
Improve spaces when status message is empty on IncomingCall component
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmarchi committed Oct 14, 2024
1 parent 6378274 commit 720710d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/components/calling/IncomingCall.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@
<div class="content">
<ProfilePicture id={$user.key} hook="friend-profile-picture" size={Size.Large} image={$user.profile.photo.image} status={$user.profile.status} />
<Text>{$user.name}</Text>
<Text muted>{$user.profile.status_message}</Text>
<Spacer />
{#if $user.profile.status_message !== ""}
<Text muted>{$user.profile.status_message}</Text>
{/if}
<Spacer less={true} />
<Controls>
<Button appearance={Appearance.Success} text="Answer" on:click={answerCall}>
<Icon icon={Shape.PhoneCall} />
Expand Down

0 comments on commit 720710d

Please sign in to comment.