Skip to content

Remove iOS 16 and 17 availablity check#24874

Merged
crazytonyli merged 5 commits intotrunkfrom
remove-ios-17-availablity-check
Sep 24, 2025
Merged

Remove iOS 16 and 17 availablity check#24874
crazytonyli merged 5 commits intotrunkfrom
remove-ios-17-availablity-check

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

@crazytonyli crazytonyli commented Sep 23, 2025

Note

This diff is easier to review.

Description

Remove iOS 16 & 17 availability checks.

Testing instructions

It should be good to merge as long as CI passes.

@dangermattic
Copy link
Copy Markdown
Collaborator

dangermattic commented Sep 23, 2025

3 Warnings
⚠️ Modules/Package.swift was changed without updating its corresponding Package.resolved. Please resolve the Swift packages as appropriate to your project setup (e.g. in Xcode or by running swift package resolve).
⚠️ View files have been modified, but no screenshot or video is included in the pull request. Consider adding some for clarity.
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

@crazytonyli crazytonyli requested a review from kean September 23, 2025 00:21
@crazytonyli crazytonyli changed the title Remove ios 17 availablity check Remove iOS 16 and 17 availablity check Sep 23, 2025
@crazytonyli crazytonyli added this to the 26.4 milestone Sep 23, 2025
@crazytonyli crazytonyli marked this pull request as ready for review September 23, 2025 00:22
@crazytonyli crazytonyli requested a review from a team as a code owner September 23, 2025 00:22
@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number29149
VersionPR #24874
Bundle IDorg.wordpress.alpha
Commit1018bf6
Installation URL6oe4ih61mlqh0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented Sep 23, 2025

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number29171
VersionPR #24874
Bundle IDcom.jetpack.alpha
Commitca1d2f4
Installation URL1c97h7b91aec8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

let b = Float(components[2])

return String(format: "#%02lX%02lX%02lX", lroundf(r * 255), lroundf(g * 255), lroundf(b * 255))
guard let components = resolved.cgColor.components, components.count >= 3 else {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(nit) I'd remove ColorGallery completely.

} else {
content
}
content.chartXSelection(value: $selection)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove ChartSelectionModifier and use chartXSelection directly.

} else {
content
}
content.presentationCompactAdaptation(.popover)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove PopoverPresentationModifier and use presentationCompactAdaptation directly.

content
}
content
.popoverTip(StatsDateRangeTip(), arrowEdge: .bottom)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This modifier (DateRangeTipModifier) can also be removed.

if #available(iOS 17.0, *) {
scrollTargetBehavior(.paging)
}
scrollTargetBehavior(.paging)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pagingIfAvailable can be removed.

} else {
self
}
self.scrollClipDisabled()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

_scrollClipDisabled can be removed.

@crazytonyli crazytonyli requested a review from kean September 24, 2025 10:58
@sonarqubecloud
Copy link
Copy Markdown

@crazytonyli crazytonyli added this pull request to the merge queue Sep 24, 2025
Merged via the queue into trunk with commit 5c39106 Sep 24, 2025
28 of 32 checks passed
@crazytonyli crazytonyli deleted the remove-ios-17-availablity-check branch September 24, 2025 11:55
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.

4 participants