Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Follow hashtag button #346

Merged
merged 8 commits into from
Jan 5, 2024
Merged

Follow hashtag button #346

merged 8 commits into from
Jan 5, 2024

Conversation

JohnOberhauser
Copy link
Member

  • Adding a follow button to the hashtag screen
  • Because we need to get the follow state from network, I'm also adding loading and error states to the hashtag screen

@JohnOberhauser JohnOberhauser requested review from a team, devotaaabel and timc-mozilla and removed request for a team January 3, 2024 23:40
Comment on lines +214 to +218
single {
GetHashTag(
hashtagRepository = get(),
)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
single {
GetHashTag(
hashtagRepository = get(),
)
}
singleOf(::GetHashTag)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetHashTag has another parameter for the coroutine dispatcher with a default value, so we have to use the normal constructor pattern

@JohnOberhauser JohnOberhauser merged commit 77aa279 into main Jan 5, 2024
3 checks passed
@JohnOberhauser JohnOberhauser deleted the hashtagFollow branch January 5, 2024 16:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants