mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Fixing formatting.
This commit is contained in:
parent
d3b390f1b2
commit
47d7d9017f
1 changed files with 4 additions and 1 deletions
|
@ -410,7 +410,10 @@ fn queries<'a>() -> Queries<
|
||||||
}
|
}
|
||||||
// Only hide the read posts, if the saved_only is false. Otherwise ppl with the hide_read
|
// Only hide the read posts, if the saved_only is false. Otherwise ppl with the hide_read
|
||||||
// setting wont be able to see saved posts.
|
// setting wont be able to see saved posts.
|
||||||
else if !options.show_read.unwrap_or(options.local_user.show_read_posts()) {
|
else if !options
|
||||||
|
.show_read
|
||||||
|
.unwrap_or(options.local_user.show_read_posts())
|
||||||
|
{
|
||||||
// Do not hide read posts when it is a user profile view
|
// Do not hide read posts when it is a user profile view
|
||||||
// Or, only hide read posts on non-profile views
|
// Or, only hide read posts on non-profile views
|
||||||
if let (None, Some(person_id)) = (options.creator_id, options.local_user.person_id()) {
|
if let (None, Some(person_id)) = (options.creator_id, options.local_user.person_id()) {
|
||||||
|
|
Loading…
Reference in a new issue