mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-25 13:38:43 +01:00
fix: profile timeline query filter logic issue. ticket: #2877SKL
This commit is contained in:
parent
d7d39d1bac
commit
0e7d4445f5
@ -228,10 +228,10 @@ extension ProfileViewController {
|
||||
overlayScrollView.refreshControl = refreshControl
|
||||
refreshControl.addTarget(self, action: #selector(ProfileViewController.refreshControlValueChanged(_:)), for: .valueChanged)
|
||||
|
||||
let postsUserTimelineViewModel = UserTimelineViewModel(context: context, domain: viewModel.domain.value, userID: viewModel.userID.value, queryFilter: UserTimelineViewModel.QueryFilter())
|
||||
let postsUserTimelineViewModel = UserTimelineViewModel(context: context, domain: viewModel.domain.value, userID: viewModel.userID.value, queryFilter: UserTimelineViewModel.QueryFilter(excludeReplies: true))
|
||||
bind(userTimelineViewModel: postsUserTimelineViewModel)
|
||||
|
||||
let repliesUserTimelineViewModel = UserTimelineViewModel(context: context, domain: viewModel.domain.value, userID: viewModel.userID.value, queryFilter: UserTimelineViewModel.QueryFilter(excludeReplies: true))
|
||||
let repliesUserTimelineViewModel = UserTimelineViewModel(context: context, domain: viewModel.domain.value, userID: viewModel.userID.value, queryFilter: UserTimelineViewModel.QueryFilter(excludeReplies: false))
|
||||
bind(userTimelineViewModel: repliesUserTimelineViewModel)
|
||||
|
||||
let mediaUserTimelineViewModel = UserTimelineViewModel(context: context, domain: viewModel.domain.value, userID: viewModel.userID.value, queryFilter: UserTimelineViewModel.QueryFilter(onlyMedia: true))
|
||||
|
Loading…
x
Reference in New Issue
Block a user