mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-02 22:57:39 +01:00
fix: comment loading after deletion (#529)
This commit is contained in:
parent
6ee7f58df1
commit
7d564efc3f
@ -400,7 +400,8 @@ class PostDetailViewModel(
|
||||
it.copy(
|
||||
comments = newComments,
|
||||
loading = false,
|
||||
canFetchMore = itemList?.isEmpty() != true,
|
||||
// deleted commments should not be counted
|
||||
canFetchMore = itemsToAdd.isNotEmpty(),
|
||||
refreshing = false,
|
||||
initial = false,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user