Skip to content

Fix linting: remove conflicting access modifier in private extension#11

Merged
tannn merged 1 commit intomainfrom
lint-fix
Mar 2, 2026
Merged

Fix linting: remove conflicting access modifier in private extension#11
tannn merged 1 commit intomainfrom
lint-fix

Conversation

@tannn
Copy link
Owner

@tannn tannn commented Mar 2, 2026

Summary

  • Moves requestAccessibilityPermissionPromptIfNeeded() from private extension DefaultTextCaptureService into the main actor body
  • Eliminates the Swift compiler warning about a public modifier conflicting with the enclosing private extension's default access level
  • The method satisfies a public protocol requirement in TextCaptureServiceProtocol, so it must be public and live outside the private extension

Test plan

  • swift build produces zero warnings and zero errors

🤖 Generated with Claude Code

…vate extension

Move requestAccessibilityPermissionPromptIfNeeded() from the private extension
into the main actor body so the public protocol requirement can be satisfied
without a conflicting access modifier warning.

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
@tannn tannn merged commit ef49b55 into main Mar 2, 2026
6 checks passed
@tannn tannn deleted the lint-fix branch March 2, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant