mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
iOS and macOS: Use consistent capitalisation with @available syntax
This commit is contained in:
parent
e68627c9ed
commit
d0aa6d0486
8 changed files with 23 additions and 23 deletions
|
|
@ -552,7 +552,7 @@ private:
|
|||
if (isSharedWindow)
|
||||
return;
|
||||
|
||||
if (@available (ios 13, *))
|
||||
if (@available (iOS 13, *))
|
||||
{
|
||||
window.windowScene = windowSceneTracker->getWindowScene();
|
||||
}
|
||||
|
|
@ -1085,7 +1085,7 @@ static void postTraitChangeNotification (UITraitCollection* previousTraitCollect
|
|||
{
|
||||
[super traitCollectionDidChange: previousTraitCollection];
|
||||
|
||||
if (@available (ios 17, *))
|
||||
if (@available (iOS 17, *))
|
||||
{} // do nothing
|
||||
else
|
||||
postTraitChangeNotification (previousTraitCollection);
|
||||
|
|
@ -1793,7 +1793,7 @@ UIViewComponentPeer::UIViewComponentPeer (Component& comp,
|
|||
|
||||
window = [[JuceUIWindow alloc] initWithFrame: r];
|
||||
|
||||
if (@available (ios 13, *))
|
||||
if (@available (iOS 13, *))
|
||||
{
|
||||
window.windowScene = windowSceneTracker->getWindowScene();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -610,7 +610,7 @@ struct TemporaryWindow
|
|||
{
|
||||
UIWindow* window = std::invoke ([&]
|
||||
{
|
||||
if (@available (ios 13, *))
|
||||
if (@available (iOS 13, *))
|
||||
{
|
||||
SharedResourcePointer<WindowSceneTracker> windowSceneTracker;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue