Skip to content

Commit

Permalink
Delete unused variable (#3328)
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple authored Jul 23, 2024
1 parent 2714853 commit 0a0682d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ excluded:
- spm_cache
- vendor/bundle
- .ruby-lsp
- derived_data

disabled_rules:
- large_tuple
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ open class ChatThreadListItemView: _View, ThemeProvider {
}

let thread = content.thread
let channel = thread.channel
let latestReply = thread.latestReplies.last
let unreadReplies = thread.reads.first(where: { $0.user.id == content.currentUserId })?.unreadMessagesCount ?? 0

Expand Down

0 comments on commit 0a0682d

Please sign in to comment.