fix errors and warnings
iOS CI / Build and Test SwiftUI App (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build Unsigned iOS IPA (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build macOS ZIP (push) Canceled after 0s

This commit is contained in:
wt committed 2026-08-10 17:22:47 +07:00
1 parent dee1eab897
commit 6a2f27d92a
2 files changed
+17 -17

No files matched your search

+16 -16
View File
@@ -942,22 +942,22 @@ enum VideoNoteStopPolicy {
} }
} }
#if os(iOS) // #if os(iOS)
extension VideoNoteRecorder { // extension VideoNoteRecorder {
fileprivate static var currentVideoOrientation: AVCaptureVideoOrientation { // fileprivate static var currentVideoOrientation: AVCaptureVideoOrientation {
switch UIDevice.current.orientation { // switch UIDevice.current.orientation {
case .portraitUpsideDown: // case .portraitUpsideDown:
return .portraitUpsideDown // return .portraitUpsideDown
case .landscapeLeft: // case .landscapeLeft:
return .landscapeRight // return .landscapeRight
case .landscapeRight: // case .landscapeRight:
return .landscapeLeft // return .landscapeLeft
default: // default:
return .portrait // return .portrait
} // }
} // }
} // }
#endif // #endif
private enum VideoNoteRecorderError: LocalizedError { private enum VideoNoteRecorderError: LocalizedError {
case cameraPermissionDenied case cameraPermissionDenied
+1 -1
View File
@@ -26,7 +26,7 @@ final class LumaRoomStore: RoomStore {
with jid: BareJID, with jid: BareJID,
nickname: String, nickname: String,
password: String? password: String?
) -> ConversationCreateResult { ) -> ConversationCreateResult<RoomBase> {
queue.sync { queue.sync {
if let room = roomsByJID[jid] { if let room = roomsByJID[jid] {
return .found(room) return .found(room)