bitwarden / ios

Bitwarden mobile app for iOS.
https://bitwarden.com
GNU General Public License v3.0
199 stars 25 forks source link

[PM-11133] Fix preview macro warnings #848

Closed KatherineInCode closed 2 months ago

KatherineInCode commented 2 months ago

🎟ī¸ Tracking

https://bitwarden.atlassian.net/browse/PM-11133

📔 Objective

As of Xcode 16 and Swift 6, using .previewDisplayName and .previewLayout in a #Preview macro produces a warning. This updates all those instances in the code to the macro-ized form.

This does not fully complete PM-11133, but is a step along the way.

⏰ Reminders before review

đŸĻŽ Reviewer guidelines

github-actions[bot] commented 2 months ago

Logo Checkmarx One – Scan Summary & Details – 134ec94c-20c7-44f7-8afc-217c33b5b37c

No New Or Fixed Issues Found

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.50%. Comparing base (ffbd89a) to head (400293c). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #848 +/- ## ======================================= Coverage 88.50% 88.50% ======================================= Files 609 609 Lines 30303 30303 ======================================= Hits 26820 26820 Misses 3483 3483 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.