Skip to content

Commit

Permalink
Fix replying to note padding
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarIlic committed May 13, 2024
1 parent 7ac2c27 commit cb60a0c
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ package net.primal.android.core.compose.feed.note
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
Expand Down Expand Up @@ -114,8 +112,12 @@ fun FeedNoteHeader(
}

if (!replyToAuthor.isNullOrEmpty()) {
ReplyingToText(modifier = Modifier.fillMaxWidth(), replyToUsername = replyToAuthor)
Spacer(modifier = Modifier.height(4.dp))
ReplyingToText(
modifier = Modifier
.fillMaxWidth()
.padding(top = 4.dp),
replyToUsername = replyToAuthor,
)
}
}
}
Expand Down

0 comments on commit cb60a0c

Please sign in to comment.