Skip to content

Only scroll when the unread marker was added in the same messages batch #1888

Only scroll when the unread marker was added in the same messages batch

Only scroll when the unread marker was added in the same messages batch #1888

Triggered via pull request October 20, 2023 06:48
Status Success
Total duration 51s
Artifacts

swiftlint.yml

on: pull_request
SwiftLint
43s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
SwiftLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
SwiftLint: NextcloudTalk/UserStatusMessageViewController.swift#L297
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 18 (cyclomatic_complexity)
SwiftLint: NextcloudTalk/ChatViewController.swift#L935
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
SwiftLint: NextcloudTalk/ChatViewController.swift#L1620
Identifier Name Violation: Variable name 'NCChatViewControllerReplyPrivatelyNotification' should be between 0 and 40 characters long (identifier_name)
SwiftLint: NextcloudTalk/ChatViewController.swift#L1622
Identifier Name Violation: Variable name 'NCChatViewControllerTalkToUserNotification' should be between 0 and 40 characters long (identifier_name)
SwiftLint: NextcloudTalk/ChatViewController.swift#L1626
Identifier Name Violation: Variable name 'NCChatViewControllerReplyPrivatelyNotification' should be between 0 and 40 characters long (identifier_name)
SwiftLint: NextcloudTalk/ChatViewController.swift#L1628
Identifier Name Violation: Variable name 'NCChatViewControllerTalkToUserNotification' should be between 0 and 40 characters long (identifier_name)
SwiftLint: NextcloudTalk/DiagnosticsTableViewController.swift#L304
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
SwiftLint: NextcloudTalk/DiagnosticsTableViewController.swift#L580
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 19 (cyclomatic_complexity)
SwiftLint: NextcloudTalk/DiagnosticsTableViewController.swift#L517
Empty Count Violation: Prefer checking `isEmpty` over comparing `count` to zero (empty_count)
SwiftLint: NextcloudTalk/SettingsTableViewController.swift#L702
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)