Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fga/text composer extract #4125

Merged
merged 6 commits into from
Oct 1, 2021
Merged

Conversation

ganfra
Copy link
Member

@ganfra ganfra commented Sep 30, 2021

This PR fixes #4077
It also moves some method from RoomDetailViewModel to a dedicated TextComposerViewModel.
It'll also fixes some cases where VoiceRecording and SendButton states were melting

@ganfra ganfra requested a review from bmarty September 30, 2021 10:04
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

LGTM (not tested). Thanks for splitting big classes :)
#2241 will not be happy :/

@github-actions
Copy link

github-actions bot commented Sep 30, 2021

Unit Test Results

  42 files  ±0    42 suites  ±0   54s ⏱️ ±0s
  83 tests ±0    83 ✔️ ±0  0 💤 ±0  0 ±0 
220 runs  ±0  220 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 8644363. ± Comparison against base commit 8644363.

♻️ This comment has been updated with latest results.

get() = canSendMessage && !isVoiceRecording

constructor(args: RoomDetailArgs) : this(
roomId = args.roomId,
Copy link
Member

@bmarty bmarty Sep 30, 2021

Choose a reason for hiding this comment

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

ktlint does not like trailing comma :/

@bmarty bmarty merged commit 8644363 into develop Oct 1, 2021
@bmarty bmarty deleted the feature/fga/text_composer_extract branch October 1, 2021 12:44
@bmarty
Copy link
Member

bmarty commented Oct 1, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reply/Edit mode animation is broken when sending.
2 participants