Do not allow loading state to prevent crossfader from transitioning.
This commit is contained in:
parent
c27ca9ad52
commit
b046eca0fb
1 changed files with 2 additions and 0 deletions
|
@ -699,10 +699,12 @@ class StoryViewerPageFragment :
|
|||
}
|
||||
AttachmentDatabase.TRANSFER_PROGRESS_PENDING -> {
|
||||
storySlate.moveToState(StorySlateView.State.LOADING, post.id)
|
||||
sharedViewModel.setContentIsReady()
|
||||
viewModel.setIsDisplayingSlate(true)
|
||||
}
|
||||
AttachmentDatabase.TRANSFER_PROGRESS_STARTED -> {
|
||||
storySlate.moveToState(StorySlateView.State.LOADING, post.id)
|
||||
sharedViewModel.setContentIsReady()
|
||||
viewModel.setIsDisplayingSlate(true)
|
||||
}
|
||||
AttachmentDatabase.TRANSFER_PROGRESS_FAILED -> {
|
||||
|
|
Loading…
Add table
Reference in a new issue