Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ runs:
bundler: Gemfile.lock
bundler-cache: true
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ inputs.node-version }}
cache: ${{ inputs.cache-npm-dependencies }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,21 +166,21 @@ extension UIDevice {
var videoOrientation: AVCaptureVideoOrientation {
switch orientation {
case .unknown:
return .portrait
.portrait
case .portrait:
return .portrait
.portrait
case .portraitUpsideDown:
return .portraitUpsideDown
.portraitUpsideDown
case .landscapeLeft:
// Flipped otherwise the picture is upside down
return .landscapeRight
.landscapeRight
case .landscapeRight:
// Flipped otherwise the picture is upside down
return .landscapeLeft
.landscapeLeft
case .faceUp, .faceDown:
return .portrait
.portrait
@unknown default:
return .portrait
.portrait
}
}
}
6 changes: 2 additions & 4 deletions packages/app/ios/ReactTestApp/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,8 @@ extension UIScene.OpenURLOptions {

options[.openInPlace] = openInPlace

if #available(iOS 14.5, *) {
if let eventAttribution {
options[.eventAttribution] = eventAttribution
}
if #available(iOS 14.5, *), let eventAttribution {
options[.eventAttribution] = eventAttribution
}

return options
Expand Down
3 changes: 1 addition & 2 deletions packages/app/windows/UWP/MainPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,5 @@ namespace winrt::ReactTestApp::implementation

namespace winrt::ReactTestApp::factory_implementation
{
struct MainPage : MainPageT<MainPage, implementation::MainPage> {
};
struct MainPage : MainPageT<MainPage, implementation::MainPage> {};
} // namespace winrt::ReactTestApp::factory_implementation
Loading