Skip to content

Conversation

@mpivchev
Copy link
Collaborator

@mpivchev mpivchev commented Nov 7, 2025

Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the initialization of FileNameValidator and FileAutoRenamer to use a simplified constructor that accepts the entire capabilities object instead of individual capability properties.

  • Simplified FileNameValidator initialization from passing four separate capability properties to passing a single capabilities object
  • Simplified FileAutoRenamer initialization from passing two separate capability properties to passing a single capabilities object

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
iOSClient/Utility/FileNameValidator+Extensions.swift Updated checkFileName and checkFolderPath methods to use simplified FileNameValidator constructor with capabilities object
iOSClient/Utility/FileAutoRenamer+Extensions.swift Updated rename method to use simplified FileAutoRenamer constructor with capabilities object

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marinofaggiana marinofaggiana merged commit 5c34543 into master Nov 10, 2025
10 of 11 checks passed
@marinofaggiana marinofaggiana deleted the wcf-enabled-capability branch November 10, 2025 15:56
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.

3 participants