Skip to content

Commit d8056dd

Browse files
committed
chore(fc): change copy from watch room to join; remove success delay when joining
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent 6ad9781 commit d8056dd

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

flipchatApp/src/main/kotlin/xyz/flipchat/app/features/chat/lookup/confirm/JoinConfirmationScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private fun JoinRoomScreenContent(viewModel: JoinConfirmationViewModel) {
9898
CodeButton(
9999
modifier = Modifier.fillMaxWidth(),
100100
buttonState = ButtonState.Filled,
101-
text = stringResource(R.string.action_watchRoom),
101+
text = stringResource(R.string.action_joinRoom),
102102
enabled = state.canJoin,
103103
isLoading = state.following.loading,
104104
isSuccess = state.following.success,

flipchatApp/src/main/kotlin/xyz/flipchat/app/features/chat/lookup/confirm/JoinConfirmationViewModel.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,7 @@ class JoinConfirmationViewModel @Inject constructor(
119119
)
120120
)
121121
)
122-
}.onSuccessWithDelay(2.seconds) {
123-
dispatchEvent(
124-
Event.OnFollowingChanged(
125-
following = false,
126-
followed = true
127-
)
128-
)
129-
delay(2.seconds)
122+
}.onSuccess {
130123
dispatchEvent(Event.OnBecameMember(it.room.id))
131124
}
132125
}.launchIn(viewModelScope)

0 commit comments

Comments
 (0)