-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
97 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,16 @@ import xyz.wingio.dimett.ast.render | |
import xyz.wingio.dimett.ui.components.BadgedItem | ||
import xyz.wingio.dimett.ui.components.Text | ||
|
||
/** | ||
* Displays the avatar along with display name and username for a post's author | ||
* | ||
* @param avatarUrl Url pointing to the authors avatar | ||
* @param displayName Authors display name | ||
* @param acct The username of the author (@user or @[email protected]) | ||
* @param emojis The emojis present in the display name | ||
* @param bot Whether or not the author is an automated account | ||
* @param onAvatarClick Callback for when the avatar is clicked | ||
*/ | ||
@Composable | ||
fun PostAuthor( | ||
avatarUrl: String, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters